[Bug 5301] New: HGPLAIN + configured extdiff + help -k = traceback
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Jul 18 19:53:55 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5301
Bug ID: 5301
Summary: HGPLAIN + configured extdiff + help -k = traceback
Product: Mercurial
Version: unspecified
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: extdiff
Assignee: bugzilla at selenic.com
Reporter: hg at pewpew.net
CC: mercurial-devel at selenic.com
> HGRCPATH=/dev/null HGPLAIN=1 ./hg --config extensions.extdiff= --config extdiff.cmd.x=y help -k asdfg
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
** Mercurial Distributed SCM (version 3.8.4+3-a7d1532b26a1)
** Extensions loaded: extdiff
Traceback (most recent call last):
File "./hg", line 43, in <module>
mercurial.dispatch.run()
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
59, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
125, in dispatch
ret = _runcatch(req)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
204, in _runcatch
return _dispatch(req)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
887, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
632, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
1017, in _runcommand
return checkargs()
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
978, in checkargs
return cmdfunc()
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/dispatch.py", line
884, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/util.py", line
1005, in check
return func(*args, **kwargs)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/commands.py", line
4599, in help_
text = help.help_(ui, name, subtopic=subtopic, **opts)
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/help.py", line 558,
in help_
matches = topicmatch(ui, name or '')
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/help.py", line 141,
in topicmatch
if kw in cmd or lowercontains(summary) or lowercontains(docs):
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/help.py", line 121,
in lowercontains
return kw in encoding.lower(container) # translated in helptable
File "/usr/local/google/home/spectral/src/hg/hg/mercurial/encoding.py", line
333, in lower
return asciilower(s)
TypeError: must be str, not unicode
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list