Mercurial > evolve
changeset 319:e7431cf7fca9
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`
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 27 Jun 2012 03:53:44 +0200 |
parents | da7509e7b50c |
children | 63f267bd2176 |
files | hgext/evolve.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):