hgext/githelp.py
changeset 35718 a10a0d5561a9
parent 35717 5edfead8cc95
child 35719 a4cd8f527a7f
equal deleted inserted replaced
35717:5edfead8cc95 35718:a10a0d5561a9
   413     ]
   413     ]
   414     args, opts = parseoptions(ui, cmdoptions, args)
   414     args, opts = parseoptions(ui, cmdoptions, args)
   415 
   415 
   416     cmd = Command('commit')
   416     cmd = Command('commit')
   417     if opts.get('patch'):
   417     if opts.get('patch'):
   418         cmd = Command('record')
   418         cmd = Command('commit --interactive')
   419 
   419 
   420     if opts.get('amend'):
   420     if opts.get('amend'):
   421         if opts.get('no_edit'):
   421         if opts.get('no_edit'):
   422             cmd = Command('amend')
   422             cmd = Command('amend')
   423         else:
   423         else: