Advocacy vs. git

rupert.thurner rupert.thurner at gmail.com
Sun Apr 26 04:14:55 CDT 2009


On Apr 25, 10:50 am, Benoit Boissinot <benoit.boissi... at ens-lyon.org>
wrote:
> On Fri, Apr 24, 2009 at 10:43:20PM -0500, Steve Borho wrote:
> > On Fri, Apr 24, 2009 at 10:19 PM, Theodore Tso <ty... at mit.edu> wrote:
> > > It wouldn't be hard to create a hg extension that extracted the commit
> > > message before doing the hg rollback, as well as saving files were
> > > included in the commit, so it could support partial commits
> > > automatically.  I just never got around to doing it, partially because
> > > I'm not a python programmer.
>
> > 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
>
> That's what I personnally do to amend a commit.

is there any example in the mercurial code that shows how to make a
"hg commit --ammend" out of "hg qimport -r tip ; hg qrefresh -e ; hg
qfinish tip" ?

rupert.



More information about the Mercurial mailing list