hgext/evolve.py
changeset 895 17ac69db9329
parent 894 4f21a3279a60
child 896 484886a2712d
--- a/hgext/evolve.py	Fri Apr 04 00:30:56 2014 +0200
+++ b/hgext/evolve.py	Fri Apr 04 00:58:15 2014 +0200
@@ -905,6 +905,10 @@
     cmdwrapper = command(oldalias, opts, synopsis)
     cmdwrapper(newfn)
 
+@eh.extsetup
+def deprecatealiases(ui):
+    _deprecatealias('gup', 'next')
+    _deprecatealias('gdown', 'previous')
 
 @command('debugrecordpruneparents', [], '')
 def cmddebugrecordpruneparents(ui, repo):
@@ -1518,7 +1522,7 @@
 
 shorttemplate = '[{rev}] {desc|firstline}\n'
 
-@command('^gdown|previous',
+@command('^previous',
          [],
          '')
 def cmdprevious(ui, repo):
@@ -1541,7 +1545,7 @@
         ui.warn(_('multiple parents, explicitly update to one\n'))
         return 1
 
-@command('^gup|next',
+@command('^next',
          [],
          '')
 def cmdnext(ui, repo):