[PATCH 0 of 1 STABLE] Fix for issue1959

Patrick Mézard pmezard at gmail.com
Sun Feb 14 10:59:30 CST 2010


Le 11/02/10 14:18, Wagner Bruna a écrit :
> This is a fix for issue1959 [1]. All tests pass, but merging
> it with default gets a bit messy, since patch.py changed a lot
> on default; I'll send afterwards a separate patch that
> applies cleanly to crew tip.
> 
> But I noticed something unexpected in the status output.
> This is the test from the bug report:
> 
> hg init
> echo foo > foo
> echo bar > bar
> hg addremove
> hg ci -m dummy
> hg mv bar bar.old
> echo bar > foo
> hg mv foo bar
> 
> Then we get:
> 
> $ hg st -C
> A bar
>   foo
> A bar.old
>   bar
> R foo
> 
> But:
> 
> $ hg commit -m test
> $ hg st -C --rev 0 --rev 1
> M bar
> A bar.old
>   bar
> R foo

This is http://mercurial.selenic.com/bts/issue1967

--
Patrick Mézard


More information about the Mercurial-devel mailing list