# HG changeset patch # User Pierre-Yves David # Date 1340762024 -7200 # Node ID e7431cf7fca9ca0a96a714e480f7d2a0875261ec # Parent da7509e7b50c997cb06f01c96f8665d4408f9b97 evolve: add a prune alias for kill pro: - it's short - It's already used in version control context - it's in the same lexical field than `graft` diff -r da7509e7b50c -r e7431cf7fca9 hgext/evolve.py --- a/hgext/evolve.py Wed Jun 27 03:51:54 2012 +0200 +++ b/hgext/evolve.py Wed Jun 27 03:53:44 2012 +0200 @@ -350,7 +350,7 @@ ui.warn(_('Multiple non-obsolete children, explicitly update to one\n')) return 1 -@command('^kill|obsolete', +@command('^kill|obsolete|prune', [('n', 'new', [], _("successor changeset"))], _('[OPTION] REV...')) def kill(ui, repo, *revs, **opts):