D1724: githelp: remove help for `git am`

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Tue Dec 19 05:36:46 UTC 2017


indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This referenced a third party extension. It doesn't feel appropriate
  to do that from a core extension.

REPOSITORY
  rHG Mercurial

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
@@ -170,14 +170,6 @@
 
     ui.status((str(cmd)), "\n")
 
-def am(ui, repo, *args, **kwargs):
-    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"))
-
 def apply(ui, repo, *args, **kwargs):
     cmdoptions = [
         ('p', 'p', int, ''),
@@ -1030,7 +1022,6 @@
 
 gitcommands = {
     'add': add,
-    'am': am,
     'apply': apply,
     'bisect': bisect,
     'blame': blame,



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


More information about the Mercurial-devel mailing list