hgext/mq.py
changeset 10813 fa635eb0b6f2
parent 10797 e8611ef6bdfb
child 10814 cd0c49bdbfd9
equal deleted inserted replaced
10807:46970384a7a4 10813:fa635eb0b6f2
  2641     extensions.wrapcommand(commands.table, 'import', mqimport)
  2641     extensions.wrapcommand(commands.table, 'import', mqimport)
  2642 
  2642 
  2643     entry = extensions.wrapcommand(commands.table, 'init', mqinit)
  2643     entry = extensions.wrapcommand(commands.table, 'init', mqinit)
  2644     entry[1].extend(mqopt)
  2644     entry[1].extend(mqopt)
  2645 
  2645 
       
  2646     norepo = commands.norepo.split(" ")
  2646     for cmd in commands.table.keys():
  2647     for cmd in commands.table.keys():
  2647         cmd = cmdutil.parsealiases(cmd)[0]
  2648         cmd = cmdutil.parsealiases(cmd)[0]
  2648         if cmd in commands.norepo:
  2649         if cmd in norepo:
  2649             continue
  2650             continue
  2650         entry = extensions.wrapcommand(commands.table, cmd, mqcommand)
  2651         entry = extensions.wrapcommand(commands.table, cmd, mqcommand)
  2651         entry[1].extend(mqopt)
  2652         entry[1].extend(mqopt)
  2652 
  2653 
  2653 seriesopts = [('s', 'summary', None, _('print first line of patch header'))]
  2654 seriesopts = [('s', 'summary', None, _('print first line of patch header'))]