comparison hgext/githelp.py @ 35718:a10a0d5561a9

githelp: replace suggestion of `hg record` `hg record` is deprecated in favor of `hg commit --interactive`. Differential Revision: https://phab.mercurial-scm.org/D1726
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 18 Dec 2017 20:58:00 -0800
parents 5edfead8cc95
children a4cd8f527a7f
comparison
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: