evolve: add a prune alias for kill
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 27 Jun 2012 03:53:44 +0200
changeset 319 e7431cf7fca9
parent 318 da7509e7b50c
child 320 63f267bd2176
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`
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):