Patchwork D1725: githelp: remove reference to tweakdefaults

login
register
mail settings
Submitter phabricator
Date Dec. 19, 2017, 5:36 a.m.
Message ID <differential-rev-PHID-DREV-5vhdisxsyppithdtd65d-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26351/
State Superseded
Headers show

Comments

phabricator - Dec. 19, 2017, 5:36 a.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This is a Facebook-ism.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/githelp.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/githelp.py b/hgext/githelp.py
--- a/hgext/githelp.py
+++ b/hgext/githelp.py
@@ -190,13 +190,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")