diff hgext/rebase.py @ 7213:b4c035057d34

findcmd: have dispatch look up strict flag
author Matt Mackall <mpm@selenic.com>
date Wed, 22 Oct 2008 17:34:08 -0500
parents 204c7850c158
children 292fb2ad2846
line wrap: on
line diff
--- a/hgext/rebase.py	Wed Oct 22 17:00:05 2008 -0500
+++ b/hgext/rebase.py	Wed Oct 22 17:34:08 2008 -0500
@@ -370,7 +370,7 @@
 def uisetup(ui):
     'Replace pull with a decorator to provide --rebase option'
     # cribbed from color.py
-    aliases, entry = cmdutil.findcmd(ui, 'pull', commands.table)
+    aliases, entry = cmdutil.findcmd('pull', commands.table)
     for candidatekey, candidateentry in commands.table.iteritems():
         if candidateentry is entry:
             cmdkey, cmdentry = candidatekey, entry