[PATCH 3 of 3 STABLE] revert: look for copies information for all local modifications

Martin von Zweigbergk martinvonz at google.com
Wed Nov 26 19:07:54 CST 2014


On Wed Nov 26 2014 at 4:58:52 PM Pierre-Yves David <
pierre-yves.david at ens-lyon.org> wrote:

>
> This is the behavior we have for move.
>
>   If you move a → b. And call 'hg revert b', it move 'a' back in place
>

It seems more like it _copies_ it back in place: 'b' is left in place. I
found that a little surprising, but it matches what happens to 'b' on 'hg
update -C'.


>
> (I repeat this is the current behavior)
>
> This patch just make it so it happen also in the case 'b' previously
> existed. This sound like a consistency improvement.
>

In that case, I agree that it improves consistency.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20141127/24b0575d/attachment.html>


More information about the Mercurial-devel mailing list