Convenient metaedit

Faheem Mitha faheem at faheem.info
Sat Apr 27 09:07:02 UTC 2019


On Sat, 27 Apr 2019, Friedrich Hagedorn wrote:

> Hello,
>
> I tried the metaedit command from the evolve extension and was happy to
> find a nearly convenient way to refactor the commit messages of my
> recent commits. In order to metaedit the changesets with branched
> ancestors together with an unclean work directory I need to do the
> following steps:
>
>    hg metaedit -r -4
>    hg shelve
>    hg hg evolve -aA
>    hg unshelve
>
> Is it possible to include the last three steps into metaedit? This would
> be really convenient!

`hg shelve` is itself quite a complex command, with multiple failure 
modes. So I don't see how it would be possible to bundle that in there. 
And yes, I agree that having to shelve/unshelve all the time is a pain, 
but I don't see a way around it, since a lot of evolve commands want a 
clean working directory.

Regards, Faheem

> Thanks a lot
>
>  Friedrich
>
> _______________________________________________
> Evolve-testers mailing list
> Evolve-testers at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/evolve-testers
>
>



More information about the Evolve-testers mailing list