Patchwork D1725: githelp: remove reference to tweakdefaults

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

Comments

phabricator - Dec. 23, 2017, 1:39 a.m.
indygreg updated this revision to Diff 4593.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1725?vs=4544&id=4593

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

AFFECTED FILES
  hgext/githelp.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/githelp.py b/hgext/githelp.py
--- a/hgext/githelp.py
+++ b/hgext/githelp.py
@@ -197,13 +197,7 @@ 
     cmdoptions = [
     ]
     args, opts = parseoptions(ui, cmdoptions, args)
-    try:
-        # If tweakdefaults is enabled then we have access to -p, which adds
-        # Phabricator diff ID
-        extensions.find('tweakdefaults')
-        cmd = Command('annotate -pudl')
-    except KeyError:
-        cmd = Command('annotate -udl')
+    cmd = Command('annotate -udl')
     cmd.extend([convert(v) for v in args])
     ui.status((str(cmd)), "\n")