##// END OF EJS Templates
debugcommands: fix some %r output with bytestr() wrappers...
Augie Fackler -
r36796:7aae39d0 default
parent child Browse files
Show More
@@ -1770,15 +1770,15 b' def debugpickmergetool(ui, repo, *pats, '
1770 overrides = {}
1770 overrides = {}
1771 if opts['tool']:
1771 if opts['tool']:
1772 overrides[('ui', 'forcemerge')] = opts['tool']
1772 overrides[('ui', 'forcemerge')] = opts['tool']
1773 ui.note(('with --tool %r\n') % (opts['tool']))
1773 ui.note(('with --tool %r\n') % (pycompat.bytestr(opts['tool'])))
1774
1774
1775 with ui.configoverride(overrides, 'debugmergepatterns'):
1775 with ui.configoverride(overrides, 'debugmergepatterns'):
1776 hgmerge = encoding.environ.get("HGMERGE")
1776 hgmerge = encoding.environ.get("HGMERGE")
1777 if hgmerge is not None:
1777 if hgmerge is not None:
1778 ui.note(('with HGMERGE=%r\n') % (hgmerge))
1778 ui.note(('with HGMERGE=%r\n') % (pycompat.bytestr(hgmerge)))
1779 uimerge = ui.config("ui", "merge")
1779 uimerge = ui.config("ui", "merge")
1780 if uimerge:
1780 if uimerge:
1781 ui.note(('with ui.merge=%r\n') % (uimerge))
1781 ui.note(('with ui.merge=%r\n') % (pycompat.bytestr(uimerge)))
1782
1782
1783 ctx = scmutil.revsingle(repo, opts.get('rev'))
1783 ctx = scmutil.revsingle(repo, opts.get('rev'))
1784 m = scmutil.match(ctx, pats, opts)
1784 m = scmutil.match(ctx, pats, opts)
General Comments 0
You need to be logged in to leave comments. Login now