mercurial 0.9: failed to remove <file> from manifest

Benoit Boissinot bboissin at gmail.com
Sun Jun 25 15:56:24 CDT 2006


On 6/25/06, John Reiser <jreiser at bitwagon.com> wrote:
>     (new, remove))
>   File "/usr/lib/python2.4/site-packages/mercurial/manifest.py", line 148, in add
>     raise AssertionError(
> AssertionError: failed to remove src/a.upx from manifest
>
> Then I made more changes to working copy of controlled files, then attempted
> "hg commit", getting the traceback at the beginning of this e-mail.
>
> I manually removed the files listed as "R " and tried the "hg commit" again.
> But I still got the Assertion complaint.
>
> How can I make this commit?
>
There was a bug with 'hg revert' in 0.9 fixed by
http://www.selenic.com/hg/?cs=e9a0ed9ed4d9

If possible, you can apply this patch or try the devel version of mercurial.

thanks.

Benoit


More information about the Mercurial mailing list