[issue1089] 'hg rm dir/*; hg ci dir' won't work

Yevgen Muntyan mercurial-bugs at selenic.com
Tue Apr 15 21:20:38 CDT 2008


New submission from Yevgen Muntyan <muntyan at tamu.edu>:

'hg ci directory' requires some files to be left in that directory, otherwise
mercurial says "abort: file foo not found!". This makes it pretty hard to remove
a directory.

test$ hg init
test$ mkdir foo
test$ touch foo/file1 foo/file2
test$ hg add foo; hg ci -m 1
adding foo/file1
adding foo/file2
test$ hg rm foo
removing foo/file1
removing foo/file2
test$ hg ci foo
abort: file foo not found!

----------
messages: 5909
nosy: muntyan
priority: bug
status: unread
title: 'hg rm dir/*; hg ci dir' won't work

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1089>
____________________________________________________



More information about the Mercurial-devel mailing list