[Bug 5706] New: TypeError: unhashable type: 'list'
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Wed Oct 11 04:50:52 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5706
Bug ID: 5706
Summary: TypeError: unhashable type: 'list'
Product: Mercurial
Version: 4.3.3
Hardware: Macintosh
OS: Mac OS
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: balasundar.c at zoho.com
CC: mercurial-devel at mercurial-scm.org
error: pretxncommit.codecheck hook raised an exception: unhashable type: 'list'
note: commit message saved in .hg/last-message.txt
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple
LLVM 8.0.0 (clang-800.0.34)]
** Mercurial Distributed SCM (version 4.3.3)
** Extensions loaded: graphlog, pager, strip, mq, fetch, record, purge
Traceback (most recent call last):
File "/usr/local/bin/hg", line 45, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 81, in
run
status = (dispatch(req) or 0) & 255
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 162, in
dispatch
ret = _runcatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 302, in
_runcatch
return _callcatch(ui, _runcatchfunc)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 310, in
_callcatch
return scmutil.callcatch(ui, func)
File "/Library/Python/2.7/site-packages/mercurial/scmutil.py", line 150, in
callcatch
return func()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 292, in
_runcatchfunc
return _dispatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 896, in
_dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 658, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.7/site-packages/mercurial/extensions.py", line 322,
in closure
return func(*(args + a), **kw)
File "/Library/Python/2.7/site-packages/hgext/pager.py", line 69, in pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 904, in
_runcommand
return cmdfunc()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 893, in
<lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 1077, in
check
return func(*args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/extensions.py", line 322,
in closure
return func(*(args + a), **kw)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 1077, in
check
return func(*args, **kwargs)
File "/Library/Python/2.7/site-packages/hgext/mq.py", line 3546, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 1077, in
check
return func(*args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 1486, in
commit
return _docommit(ui, repo, *pats, **opts)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 1577, in
_docommit
node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
File "/Library/Python/2.7/site-packages/mercurial/cmdutil.py", line 2902, in
commit
r = commitfunc(ui, repo, message, matcher, opts)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 1575, in
commitfunc
extra=extra)
File "/Library/Python/2.7/site-packages/hgext/mq.py", line 3449, in commit
editor, extra)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 140, in
wrapper
return orig(repo.unfiltered(), *args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 1862,
in commit
ret = self.commitctx(cctx, True)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 140, in
wrapper
return orig(repo.unfiltered(), *args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 1962,
in commitctx
parent2=xp2)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 796, in
hook
return hook.hook(self.ui, self, name, throw, **args)
File "/Library/Python/2.7/site-packages/mercurial/hook.py", line 201, in hook
res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
File "/Library/Python/2.7/site-packages/mercurial/hook.py", line 253, in
runhooks
throw)
File "/Library/Python/2.7/site-packages/mercurial/hook.py", line 94, in
_pythonhook
r = obj(ui=ui, repo=repo, hooktype=htype, **args)
File
"/Users/bala-5218/Downloads/eclipse/Eclipse.app/Contents/MacOS/ZIDE/commitcheck/wrapper.py",
line 106, in startChecks
halt=codecheck.startChecks(repo,ui, hooktype,node,**args)
File
"/Users/bala-5218/Downloads/eclipse/Eclipse.app/Contents/MacOS/ZIDE/commitcheck/codecheck/codecheck.py",
line 88, in startChecks
diff = repoObject.getDiffContent(branch)
File
"/Users/bala-5218/Downloads/eclipse/Eclipse.app/Contents/MacOS/ZIDE/commitcheck/codecheck/repository.py",
line 268, in getDiffContent
self.parseDiffContent(diffcontent, branch)
File
"/Users/bala-5218/Downloads/eclipse/Eclipse.app/Contents/MacOS/ZIDE/commitcheck/codecheck/repository.py",
line 286, in parseDiffContent
if file_name not in self.diff_content[branch]:
TypeError: unhashable type: 'list'
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list