diff hgext/githelp.py @ 35716:05b8adf38c55

githelp: recommend `hg import` for `git am` This referenced a third party extension. It doesn't feel appropriate to do that from a core extension. Reference `hg import` instead. Differential Revision: https://phab.mercurial-scm.org/D1724
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 22 Dec 2017 18:38:29 -0700
parents 8dbd000f7de9
children 5edfead8cc95
line wrap: on
line diff
--- a/hgext/githelp.py	Mon Dec 18 20:51:20 2017 -0800
+++ b/hgext/githelp.py	Fri Dec 22 18:38:29 2017 -0700
@@ -174,9 +174,8 @@
     cmdoptions=[
     ]
     args, opts = parseoptions(ui, cmdoptions, args)
-    cmd = Command('mimport -m')
-    ui.status(str(cmd), "\n\n")
-    ui.status(_("note: requires the MboxExtension and the MqExtension.\n"))
+    cmd = Command('import')
+    ui.status(str(cmd), "\n")
 
 def apply(ui, repo, *args, **kwargs):
     cmdoptions = [