[PATCH 4 of 4 V3 evolve-ext] metaedit: add support for folding commits while editing their metadata

Siddharth Agarwal sid at less-broken.com
Mon Apr 25 18:34:20 EDT 2016


On 4/25/16 15:03, Simon Farnsworth wrote:
> Apart from the naming issue, this looks good to me, code-wise.
>
> Are there other operations that make sense combined with metaedit, not 
> just fold? Reorder, perhaps? And do we want a --roll as well, which 
> simply takes the commit message from a selected commit in the set 
> being folded together? 


Reorder can in principle involve working copy merges, so it's probably 
not the best fit.

--roll sounds interesting but you can achieve it with something like 
--logfile <(hg log -r <commit> -T '{desc}'). I'd wait for it to be 
implemented for 'hg commit --amend' and similar, though.



More information about the Mercurial-devel mailing list