[Bug 5748] New: Unknown exception during commit
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Nov 26 13:39:53 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5748
Bug ID: 5748
Summary: Unknown exception during commit
Product: Mercurial
Version: 4.4.1
Hardware: PC
OS: Mac OS
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: vit at uber.com
CC: mercurial-devel at mercurial-scm.org
Hi, I'm getting following exception while trying to commit changes on fairly
large repo. (simply running: hg commit -m "Commit foo")
Not sure what or why this is happening, would be great to get some help.
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple
LLVM 9.0.0 (clang-900.0.31)]
** Mercurial Distributed SCM (version 4.4.1)
** Extensions loaded: convert, purge
Traceback (most recent call last):
File "/usr/local/bin/hg", line 41, in <module>
dispatch.run()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 85, in
run
status = (dispatch(req) or 0) & 255
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 173, in
dispatch
ret = _runcatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 313, in
_runcatch
return _callcatch(ui, _runcatchfunc)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 321, in
_callcatch
return scmutil.callcatch(ui, func)
File "/Library/Python/2.7/site-packages/mercurial/scmutil.py", line 154, in
callcatch
return func()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 303, in
_runcatchfunc
return _dispatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 940, in
_dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 701, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 948, in
_runcommand
return cmdfunc()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 937, in
<lambda>
d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 1183, in
check
return func(*args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 1501, in
commit
return _docommit(ui, repo, *pats, **opts)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 1584, in
_docommit
node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
File "/Library/Python/2.7/site-packages/mercurial/cmdutil.py", line 3090, in
commit
return commitfunc(ui, repo, message, matcher, opts)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 1582, in
commitfunc
extra=extra)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 142, in
wrapper
return orig(repo.unfiltered(), *args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 1946,
in commit
ret = self.commitctx(cctx, True)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 142, in
wrapper
return orig(repo.unfiltered(), *args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 2013,
in commitctx
trp, changed)
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 1778,
in _filecommit
if fparent2 != nullid or flog.cmp(fparent1, text) or meta:
File "/Library/Python/2.7/site-packages/mercurial/filelog.py", line 101, in
cmp
if self.renamed(node):
File "/Library/Python/2.7/site-packages/mercurial/filelog.py", line 65, in
renamed
return (m["copy"], revlog.bin(m["copyrev"]))
KeyError: 'copyrev'
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list