hgext/evolve.py
branchstable
changeset 571 31efc36f3aac
parent 562 b1bdcb4506de
child 572 dc107acd0bd2
--- a/hgext/evolve.py	Wed Sep 19 14:53:24 2012 +0200
+++ b/hgext/evolve.py	Wed Sep 19 17:30:07 2012 +0200
@@ -1115,11 +1115,11 @@
     try:
         rebase = extensions.find('rebase')
         if rebase:
+            extensions.wrapcommand(rebase.cmdtable, "rebase", cmdrebase)
             entry = extensions.wrapcommand(rebase.cmdtable, 'rebase', warnobserrors)
             extensions.wrapfunction(rebase, 'buildstate', buildstate)
             extensions.wrapfunction(rebase, 'defineparents', defineparents)
             extensions.wrapfunction(rebase, 'concludenode', concludenode)
-            extensions.wrapcommand(rebase.cmdtable, "rebase", cmdrebase)
     except KeyError:
         pass  # rebase not found