githelp: remove reference to tweakdefaults
This is a Facebook-ism.
Differential Revision: https://phab.mercurial-scm.org/D1725
--- a/hgext/githelp.py Fri Dec 22 18:38:29 2017 -0700
+++ b/hgext/githelp.py Mon Dec 18 20:56:01 2017 -0800
@@ -23,7 +23,6 @@
from mercurial.i18n import _
from mercurial import (
error,
- extensions,
fancyopts,
registrar,
util,
@@ -197,13 +196,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")