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

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Thu Jan 18 19:58:27 UTC 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG05b8adf38c55: githelp: recommend `hg import` for `git am` (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

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

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, durin42
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list