[PATCH 7 of 7] revert: use p2 as parent when reverting against it

Durham Goode durham at fb.com
Mon May 19 12:17:20 CDT 2014


On 5/19/14, 8:58 AM, "pierre-yves.david at ens-lyon.org"
<pierre-yves.david at ens-lyon.org> wrote:

># HG changeset patch
># User Pierre-Yves David <pierre-yves.david at fb.com>
># Date 1400089085 25200
>#      Wed May 14 10:38:05 2014 -0700
># Node ID 31363762399e5c43d6b679fece71dc7a0b72ce1d
># Parent  2d09f1521f9497365ae7bdae5e0700441123ec20
>revert: use p2 as parent when reverting against it
>
>revert was always using p1 as parent. This created some minor misbehavior
>when
>reverting against p2. See test change for an example of that.
>
>This is also a useful cleanup for coming refactoring to revert.

This series looks good to me.  I’d queue it, but there’s already 158
pending changes in the queue, and piling more on probably won’t help.



More information about the Mercurial-devel mailing list