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

Augie Fackler raf at durin42.com
Wed Jun 24 19:13:56 CDT 2015


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.)

> 
> - Jordi G. H.
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150624/e65d4cde/attachment.pgp>


More information about the Mercurial-devel mailing list