Mercurial > hg-stable
changeset 35717:5edfead8cc95
githelp: remove reference to tweakdefaults
This is a Facebook-ism.
Differential Revision: https://phab.mercurial-scm.org/D1725
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 18 Dec 2017 20:56:01 -0800 |
parents | 05b8adf38c55 |
children | a10a0d5561a9 |
files | hgext/githelp.py |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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")