hgext/rebase.py
changeset 7213 b4c035057d34
parent 7130 204c7850c158
child 7216 292fb2ad2846
equal deleted inserted replaced
7212:402d317778d3 7213:b4c035057d34
   368         pullfunction(repo.ui, repo, *args, **opts)
   368         pullfunction(repo.ui, repo, *args, **opts)
   369 
   369 
   370 def uisetup(ui):
   370 def uisetup(ui):
   371     'Replace pull with a decorator to provide --rebase option'
   371     'Replace pull with a decorator to provide --rebase option'
   372     # cribbed from color.py
   372     # cribbed from color.py
   373     aliases, entry = cmdutil.findcmd(ui, 'pull', commands.table)
   373     aliases, entry = cmdutil.findcmd('pull', commands.table)
   374     for candidatekey, candidateentry in commands.table.iteritems():
   374     for candidatekey, candidateentry in commands.table.iteritems():
   375         if candidateentry is entry:
   375         if candidateentry is entry:
   376             cmdkey, cmdentry = candidatekey, entry
   376             cmdkey, cmdentry = candidatekey, entry
   377             break
   377             break
   378 
   378