[issue401] Problem with "hg rm -A" after "hg mv"
Markus F.X.J. Oberhumer
mercurial-bugs at selenic.com
Tue Oct 24 12:20:56 UTC 2006
New submission from Markus F.X.J. Oberhumer <markus at oberhumer.com>:
Please run the attached test.sh script.
mfx at harmonia:~/tmp/hg-test > sh ./test.sh
+ rm -rf .hg subdir
+ hg=/home/mfx/tmp/mercurial-crew.hg/hg
+ hg=hg
+ hg version
Mercurial Distributed SCM (version 34f08b8883cf+20061010)
Copyright (C) 2005, 2006 Matt Mackall <mpm at selenic.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ hg init
+ mkdir subdir
+ touch a.c subdir/b.c
+ hg add a.c subdir/b.c
+ hg commit -m 1
+ hg mv a.c subdir
+ hg status
A subdir/a.c
R a.c
? test.sh
+ rm subdir/a.c subdir/b.c
+ hg rm -A subdir
removing subdir/b.c
+ hg status
A subdir/a.c
R a.c
R subdir/b.c
? test.sh
+ hg commit -m 2
trouble committing subdir/a.c!
abort: No such file or directory: /home/mfx/tmp/hg-test/subdir/a.c
+ ls -l . subdir
.:
total 8
drwxr-xr-x 2 mfx users 4096 Oct 24 14:21 subdir
-rw-r--r-- 1 mfx users 320 Oct 24 14:18 test.sh
subdir:
total 0
----------
messages: 2263
nosy: mfx
priority: bug
status: unread
title: Problem with "hg rm -A" after "hg mv"
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue401>
____________________________________________________
More information about the Mercurial-devel
mailing list