##// END OF EJS Templates
githelp: remove reference to tweakdefaults...
Gregory Szorc -
r35735:5edfead8 default
parent child Browse files
Show More
@@ -23,7 +23,6 b' import re'
23 from mercurial.i18n import _
23 from mercurial.i18n import _
24 from mercurial import (
24 from mercurial import (
25 error,
25 error,
26 extensions,
27 fancyopts,
26 fancyopts,
28 registrar,
27 registrar,
29 util,
28 util,
@@ -197,13 +196,7 b' def blame(ui, repo, *args, **kwargs):'
197 cmdoptions = [
196 cmdoptions = [
198 ]
197 ]
199 args, opts = parseoptions(ui, cmdoptions, args)
198 args, opts = parseoptions(ui, cmdoptions, args)
200 try:
199 cmd = Command('annotate -udl')
201 # If tweakdefaults is enabled then we have access to -p, which adds
202 # Phabricator diff ID
203 extensions.find('tweakdefaults')
204 cmd = Command('annotate -pudl')
205 except KeyError:
206 cmd = Command('annotate -udl')
207 cmd.extend([convert(v) for v in args])
200 cmd.extend([convert(v) for v in args])
208 ui.status((str(cmd)), "\n")
201 ui.status((str(cmd)), "\n")
209
202
General Comments 0
You need to be logged in to leave comments. Login now