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.
--- 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,