Graft can't collapse and rebase --collapse does not record all metadata
Lawrence Stewart
lstewart at room52.net
Tue Jan 20 03:51:47 UTC 2015
Hi Chingis,
On 01/20/15 03:11, Chingis Dugarzhapov wrote:
> Have you tried histedit extension? It keeps commits messages after
> collapse ("fold" there),
> and should be enough in your case when used after graft.
That is not a good solution and is no better than the ones I noted in my
initial email.
For a bit of extra context, my team enforces Crucible code reviews for
merges up to the prod branch. At the time of doing the multi-commit
cherry pick, I want to edit the commit log message and add a reference
to the code review. Doing that for every commit as part of a
multi-commit graft is silly and wastes time.
What I want is a collapsed patch that gets committed to the prod branch
with the commit log messages and merge (source=) meta data of each
constituent patch that I can tweak at commit time to reflect the code
review details and trace back the development history of the collapsed
patch if I care by following the source= meta data.
Cheers,
Lawrence
More information about the Mercurial
mailing list