comparison hgext/mq.py @ 10809:da3b4b7a45ce stable

Merge with i18n
author Matt Mackall <mpm@selenic.com>
date Thu, 01 Apr 2010 17:40:47 -0500
parents 1ebba857b371 ce2ae8bf3ae3
children cd0c49bdbfd9 9606edb8777e
comparison
equal deleted inserted replaced
10808:1ebba857b371 10809:da3b4b7a45ce
2666 extensions.wrapcommand(commands.table, 'import', mqimport) 2666 extensions.wrapcommand(commands.table, 'import', mqimport)
2667 2667
2668 entry = extensions.wrapcommand(commands.table, 'init', mqinit) 2668 entry = extensions.wrapcommand(commands.table, 'init', mqinit)
2669 entry[1].extend(mqopt) 2669 entry[1].extend(mqopt)
2670 2670
2671 norepo = commands.norepo.split(" ")
2671 for cmd in commands.table.keys(): 2672 for cmd in commands.table.keys():
2672 cmd = cmdutil.parsealiases(cmd)[0] 2673 cmd = cmdutil.parsealiases(cmd)[0]
2673 if cmd in commands.norepo: 2674 if cmd in norepo:
2674 continue 2675 continue
2675 entry = extensions.wrapcommand(commands.table, cmd, mqcommand) 2676 entry = extensions.wrapcommand(commands.table, cmd, mqcommand)
2676 entry[1].extend(mqopt) 2677 entry[1].extend(mqopt)
2677 2678
2678 seriesopts = [('s', 'summary', None, _('print first line of patch header'))] 2679 seriesopts = [('s', 'summary', None, _('print first line of patch header'))]