[Bug 5324] New: error after troubleshooting corrupt repository
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Aug 10 14:24:02 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5324
Bug ID: 5324
Summary: error after troubleshooting corrupt repository
Product: Mercurial
Version: 3.8.1
Hardware: Macintosh
OS: Mac OS
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: kmark.gr at gmail.com
CC: mercurial-devel at selenic.com
Hi,
I'm fairly new to using mercurial and version control software, and had
relatively few issues using SourceTree and Bitbucket until recently.
I was running troubleshooting tips from
(https://www.mercurial-scm.org/wiki/RepositoryCorruption) to fix an error I
keep encountering when trying to commit changes to a repository that will throw
an error about trouble committing file "abort: unknown file or directory".
I tried to check my dirstate corruption, and used the steps listed in the
article:
$ hg st
M kmkm_code/misc/RNASeqProcessing_TopHat_Bowtie_DESeq2.sh
? .hgcheck/hg-checkexec-6pHczs
$ hg id
48dcb90b52c1+ tip
$ echo fdsjfkgsjdfhgskdfhkgshjkdfhjkgsjkhdfkhgjsdhjkfgoo > .hg/dirstate
after this however when I hg st I get this error:
$ hg st
warning: ignoring unknown working parent 6664736a666b!
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple
LLVM 7.0.0 (clang-700.0.59.5)]
** Mercurial Distributed SCM (version 3.8.1)
** Extensions loaded:
Traceback (most recent call last):
File "/usr/local/bin/hg", line 43, in <module>
mercurial.dispatch.run()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 59, in
run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 125, in
dispatch
ret = _runcatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 204, in
_runcatch
return _dispatch(req)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 887, in
_dispatch
cmdpats, cmdoptions)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 632, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 1017, in
_runcommand
return checkargs()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 978, in
checkargs
return cmdfunc()
File "/Library/Python/2.7/site-packages/mercurial/dispatch.py", line 884, in
<lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 1005, in
check
return func(*args, **kwargs)
File "/Library/Python/2.7/site-packages/mercurial/commands.py", line 6586, in
status
opts.get('subrepos'))
File "/Library/Python/2.7/site-packages/mercurial/localrepo.py", line 1821,
in status
listsubrepos)
File "/Library/Python/2.7/site-packages/mercurial/context.py", line 351, in
status
listunknown)
File "/Library/Python/2.7/site-packages/mercurial/context.py", line 1628, in
_buildstatus
s = self._dirstatestatus(match, listignored, listclean, listunknown)
File "/Library/Python/2.7/site-packages/mercurial/context.py", line 1594, in
_dirstatestatus
if '.hgsub' in self:
File "/Library/Python/2.7/site-packages/mercurial/context.py", line 1395, in
__contains__
return self._repo.dirstate[key] not in "?r"
File "/Library/Python/2.7/site-packages/mercurial/dirstate.py", line 311, in
__getitem__
return self._map.get(key, ("?",))[0]
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 737, in
__get__
result = self.func(obj)
File "/Library/Python/2.7/site-packages/mercurial/dirstate.py", line 135, in
_map
self._read()
File "/Library/Python/2.7/site-packages/mercurial/dirstate.py", line 433, in
_read
p = parse_dirstate(self._map, self._copymap, st)
File "/Library/Python/2.7/site-packages/mercurial/util.py", line 857, in
wrapper
return func(*args, **kwargs)
ValueError: overflow in dirstate
It said to report -- which is why I'm here, can this also explain my commit
issues as well as I'm unsure of what else to do
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list