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

login
register
mail settings
Submitter phabricator
Date Dec. 23, 2017, 1:39 a.m.
Message ID <0c79136cd9169b01b8c326b29df4556a@localhost.localdomain>
Download mbox | patch
Permalink /patch/26416/
State Not Applicable
Headers show

Comments

phabricator - Dec. 23, 2017, 1:39 a.m.
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




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

Patch

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 = [