D2675: debugcommands: fix some %r output with bytestr() wrappers
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Mar 8 01:32:14 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7aae39d03139: debugcommands: fix some %r output with bytestr() wrappers (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2675?vs=6627&id=6725
REVISION DETAIL
https://phab.mercurial-scm.org/D2675
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1770,15 +1770,15 @@
overrides = {}
if opts['tool']:
overrides[('ui', 'forcemerge')] = opts['tool']
- ui.note(('with --tool %r\n') % (opts['tool']))
+ ui.note(('with --tool %r\n') % (pycompat.bytestr(opts['tool'])))
with ui.configoverride(overrides, 'debugmergepatterns'):
hgmerge = encoding.environ.get("HGMERGE")
if hgmerge is not None:
- ui.note(('with HGMERGE=%r\n') % (hgmerge))
+ ui.note(('with HGMERGE=%r\n') % (pycompat.bytestr(hgmerge)))
uimerge = ui.config("ui", "merge")
if uimerge:
- ui.note(('with ui.merge=%r\n') % (uimerge))
+ ui.note(('with ui.merge=%r\n') % (pycompat.bytestr(uimerge)))
ctx = scmutil.revsingle(repo, opts.get('rev'))
m = scmutil.match(ctx, pats, opts)
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list