[PATCH 3 of 3 evolve-ext RFC] commands: introduce a new command to edit commit metadata

Danek Duvall danek.duvall at oracle.com
Fri Mar 11 17:15:21 EST 2016


Siddharth Agarwal wrote:

> commands: introduce a new command to edit commit metadata
> 
> The eventual goal of this command is to allow editing one or more changesets'
> metadata without being on the particular changeset.
> 
> This implementation is by no means complete, but it does allow folding multiple
> commits into one. Crucially, it is different from 'hg fold --exact' in that it
> also allows 'folding' a single commit and rewriting its metadata. This is
> really useful to have as a single logical operation, for example while
> preparing a series of multiple local changesets that will need to be pushed as
> a single changeset.

Why is this not simply an enhancement to histedit and amend?

Danek


More information about the Mercurial-devel mailing list