equal
deleted
inserted
replaced
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 |