Error after unexpected shutdown
Created originally on Bitbucket by scompo (Mauro Scomparin)
While I was merging 2 branches of a repo my pc turned of due to a blackout, after reeboting I recieved an error log from TortoiseHg and the eclipse mercurial client wasn't able to restore the state of the repo.
The error report was the following:
#!python
** Mercurial version (4.0.1). TortoiseHg version (4.0.1)
** Command:
** CWD: C:\WINDOWS\system32
** Encoding: cp1252
** Extensions loaded:
** Python version: 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-4.8.7 PyQt-4.11.4 QScintilla-2.9
Traceback (most recent call last):
File "tortoisehg\hgqt\manifestmodel.pyo", line 353, in fetchMore
File "tortoisehg\hgqt\manifestmodel.pyo", line 406, in _populateNodes
File "tortoisehg\hgqt\manifestmodel.pyo", line 579, in _populaterepo
File "tortoisehg\hgqt\manifestmodel.pyo", line 609, in _populatesubrepos
File "mercurial\util.pyo", line 770, in __get__
File "mercurial\context.pyo", line 168, in substate
File "mercurial\subrepo.pyo", line 102, in state
File "mercurial\context.pyo", line 1399, in __contains__
File "mercurial\dirstate.pyo", line 313, in __getitem__
File "mercurial\util.pyo", line 770, in __get__
File "mercurial\dirstate.pyo", line 137, in _map
File "mercurial\dirstate.pyo", line 437, in _read
ValueError: overflow in dirstate
I was lucky enough to have both branches pushed on a server so I just download again the repo, and merged.