# HG changeset patch # User Gregory Szorc # Date 1513659361 28800 # Node ID 5edfead8cc952f04aa14d0d487b336f1d62c49d1 # Parent 05b8adf38c551e6d137fd5c239e961bad93986d0 githelp: remove reference to tweakdefaults This is a Facebook-ism. Differential Revision: https://phab.mercurial-scm.org/D1725 diff -r 05b8adf38c55 -r 5edfead8cc95 hgext/githelp.py --- 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")