remove command goes walkies
Jordan Breeding
jordan.breeding at mac.com
Thu Sep 1 11:38:11 CDT 2005
On Thursday, September 01, 2005, at 10:07AM, Bryan O'Sullivan <bos at serpentine.com> wrote:
>I just committed a change to the crew repository that switches the
>remove command over to using the walk code. This means that doing a
>remove of a directory should now behave more as you'd expect; it will
>schedule all files in the directory for removal.
>
> <b
>
>_______________________________________________
>Mercurial mailing list
>Mercurial at selenic.com
>http://selenic.com/mailman/listinfo/mercurial
>
>
Much more like what I would expect, but in:
354 jbb at cloves /tmp/jbb_test > find one
one
one/two
one/two/three
355 jbb at cloves /tmp/jbb_test > hg status
356 jbb at cloves /tmp/jbb_test > hg remove one
removing one/two/three
one/two/three still exists!
357 jbb at cloves /tmp/jbb_test > rm -rf one;hg remove one
one: No such file or directory
removing one/two/three
358 jbb at cloves /tmp/jbb_test > ls
four/ six
359 jbb at cloves /tmp/jbb_test > hg status
R one/two/three
360 jbb at cloves /tmp/jbb_test >
I wouldn't have expected to see the "one: No such file or directory"
Jordan
More information about the Mercurial
mailing list