comparison hgext/evolve.py @ 365:9f6a77ec66cb stable

evolve: switch the official name for "kill" to prune doc have been updated too
author Pierre-Yves.David@ens-lyon.org
date Sun, 15 Jul 2012 13:07:54 +0200
parents 88cee22c89f1
children 598ff1df3b92
comparison
equal deleted inserted replaced
364:616305c63510 365:9f6a77ec66cb
336 for c in children: 336 for c in children:
337 displayer.show(c) 337 displayer.show(c)
338 ui.warn(_('Multiple non-obsolete children, explicitly update to one\n')) 338 ui.warn(_('Multiple non-obsolete children, explicitly update to one\n'))
339 return 1 339 return 1
340 340
341 @command('^kill|obsolete|prune', 341 @command('^prune|obsolete|kill',
342 [('n', 'new', [], _("successor changeset"))], 342 [('n', 'new', [], _("successor changeset"))],
343 _('[OPTION] REV...')) 343 _('[OPTION] REV...'))
344 def kill(ui, repo, *revs, **opts): 344 def kill(ui, repo, *revs, **opts):
345 """mark a changeset as obsolete 345 """mark a changeset as obsolete
346 346