Convenient metaedit
Friedrich Hagedorn
friedrich_h at gmx.de
Sat Apr 27 10:56:03 UTC 2019
On Sat, Apr 27, 2019 at 02:37:02PM +0530, Faheem Mitha wrote:
> On Sat, 27 Apr 2019, Friedrich Hagedorn wrote:
[...]
> > 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.
OK, maybe a compromise would be to combine only
hg metaedit -r ...
hg evolve -aA
into metaedit. In this way you can just use metaedit without to know the
(logical) concept behind the evolve mechanism. Do you think this would
be possible?
Regards
Friedrich
More information about the Evolve-testers
mailing list