D1724: githelp: recommend `hg import` for `git am`

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Dec 22 20:39:41 EST 2017


indygreg updated this revision to Diff 4592.
indygreg edited the summary of this revision.
indygreg retitled this revision from "githelp: remove help for `git am`" to "githelp: recommend `hg import` for `git am`".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1724?vs=4543&id=4592

REVISION DETAIL
  https://phab.mercurial-scm.org/D1724

AFFECTED FILES
  hgext/githelp.py

CHANGE DETAILS

diff --git a/hgext/githelp.py b/hgext/githelp.py
--- a/hgext/githelp.py
+++ b/hgext/githelp.py
@@ -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 = [



To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list