Advocacy vs. git

Peter Hosey boredzo at gmail.com
Sat Apr 25 07:13:08 CDT 2009


On Apr 25, 2009, at 05:09:31, rupert.thurner wrote:
> On Apr 25, 5:43 am, Steve Borho <st... at borho.org> wrote:
>> Since we're talking about an extension, this is really just a  
>> matter of automating hg qimport -r tip ; hg qrefresh -e ; hg  
>> qfinish tip
>
> but does ammend not change the last commit, and when others get your  
> changeset its a clean one (instead of multiple, some of them just  
> fixing up typos) ?

That's what importing the commit as a patch, refreshing with -e or new  
changes, and then qfinishing it does. The original commit perishes  
when you import it into the patch queue; only the modified version  
survives. The procedure that Steve Borho suggested does not create any  
new commits on top of the one you're correcting.



More information about the Mercurial mailing list