mercurial/dispatch.py
changeset 12748 d10369fefd01
parent 12637 42ca7aef28d3
child 12770 614f0d8724ab
equal deleted inserted replaced
12747:175fb1b193f4 12748:d10369fefd01
   431 
   431 
   432 def _checkshellalias(ui, args):
   432 def _checkshellalias(ui, args):
   433     cwd = os.getcwd()
   433     cwd = os.getcwd()
   434     norepo = commands.norepo
   434     norepo = commands.norepo
   435     options = {}
   435     options = {}
   436     args = fancyopts.fancyopts(args, commands.globalopts, options)
   436 
       
   437     try:
       
   438         args = fancyopts.fancyopts(args, commands.globalopts, options)
       
   439     except fancyopts.getopt.GetoptError:
       
   440         return
   437 
   441 
   438     if not args:
   442     if not args:
   439         return
   443         return
   440 
   444 
   441     _parseconfig(ui, options['config'])
   445     _parseconfig(ui, options['config'])