diff 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
line wrap: on
line diff
--- a/hgext/githelp.py	Mon Dec 18 20:56:01 2017 -0800
+++ b/hgext/githelp.py	Mon Dec 18 20:58:00 2017 -0800
@@ -415,7 +415,7 @@
 
     cmd = Command('commit')
     if opts.get('patch'):
-        cmd = Command('record')
+        cmd = Command('commit --interactive')
 
     if opts.get('amend'):
         if opts.get('no_edit'):