[PATCH 2 of 2] revert: change the direction of revert -i

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Jun 24 19:53:47 CDT 2015



On 06/24/2015 05:13 PM, Augie Fackler wrote:
>
> On Jun 24, 2015, at 8:08 PM, Jordi Gutiérrez Hermoso <jordigh at octave.org> wrote:
>
>> On Wed, 2015-06-24 at 15:03 -0400, Augie Fackler wrote:
>>> For someone coming into this late, what is proposition 2? I can't
>>> remember. (Some sample output would help my bad search-fu, if you
>>> don't mind.)
>>
>> Prop 1: revert by applying a reverse diff/hunk
>
> That is, you see the opposite of ‘hg diff’ and choose which ones to apply normally?
>
>> Prop 2: revert by unapplying a forward diff/hunk
>
> That is, you see the same output as ‘hg diff’ and you can choose which ones get abandoned?
>
> (If I understand correctly, then prop 2 is what I would naively expect the command to do. Apologies for barging into this late.)

And by chance, this is now what the behavior is ☺
(Thanks for voicing your preference anyway)


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list