Mercurial > hg > evolve
changeset 1627:47f48af730ce
split: preserve original changesets description
Losing the description on split is to much an issue, we offer the original
description to edition for every part of the split.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 06 Nov 2015 21:34:24 -0500 |
parents | cafa9437a537 |
children | 48547b4c77de |
files | hgext/evolve.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -2709,6 +2709,10 @@ def haschanges(): modified, added, removed, deleted = repo.status()[:4] return modified or added or removed or deleted + msg = 'HG: Please, edit the original changeset description.\n\n' + msg += ctx.description() + opts['message'] = msg + opts['edit'] = True while haschanges(): pats = () cmdutil.dorecord(ui, repo, commands.commit, 'commit', False,