Mercurial > evolve
changeset 1531: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 Fri Nov 06 21:15:15 2015 -0500 +++ b/hgext/evolve.py Fri Nov 06 21:34:24 2015 -0500 @@ -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,