# HG changeset patch # User Pierre-Yves David # Date 1446863664 18000 # Node ID 47f48af730ce2cc9dddb0c442ba2c5f871e62913 # Parent cafa9437a5370f7b661d4e4db003db7119957a21 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. diff -r cafa9437a537 -r 47f48af730ce hgext/evolve.py --- 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,