Corrupt repository after applying mq patch
Created originally on Bitbucket by karidavidsson
Applied a patch from the mq to the tip of the active branch and got the error. I have applied the patch (and unapplied it) several times in the past few days without problem and now that the repostory is corrupt and I am not sure if I can recover it. This has happened once before (maybe one year ago), different repo, older version of mercurial. Then I lost few days of work.
The repo got corrupted when using tortoisehg 3.9. I have since then upgraded to 3.9.2 in an attempt to recover my repo. The error below is when I try to open the repo with tortoisehg 3.9.2.
#!python
#!python
** Mercurial version (3.9.2). TortoiseHg version (3.9.2)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: histedit, mercurial_keyring, strip, mq, rebase, share, transplant
** 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\workbench.pyo", line 677, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 98, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 369, in _createRepoWidget
File "tortoisehg\hgqt\repowidget.pyo", line 73, in __init__
File "tortoisehg\hgqt\repowidget.pyo", line 918, in loadSettings
File "tortoisehg\hgqt\revdetails.pyo", line 486, in loadSettings
File "tortoisehg\hgqt\csinfo.pyo", line 472, in set_expanded
File "tortoisehg\hgqt\csinfo.pyo", line 456, in update
File "tortoisehg\hgqt\csinfo.pyo", line 370, in get_markup
File "tortoisehg\hgqt\csinfo.pyo", line 316, in get_markup
File "tortoisehg\hgqt\csinfo.pyo", line 251, in get_data
File "tortoisehg\hgqt\revpanel.pyo", line 64, in data_func
File "mercurial\context.pyo", line 567, in branch
File "mercurial\util.pyo", line 768, in __get__
File "mercurial\context.pyo", line 527, in _changeset
File "mercurial\changelog.pyo", line 471, in changelogrevision
File "mercurial\revlog.pyo", line 1205, in revision
File "mercurial\revlog.pyo", line 1129, in _chunks
File "mercurial\revlog.pyo", line 1091, in _chunkraw
File "mercurial\revlog.pyo", line 1066, in _getchunk
File "mercurial\revlog.pyo", line 1025, in _loadchunk
File "mercurial\store.pyo", line 480, in __call__
File "mercurial\scmutil.pyo", line 588, in __call__
File "mercurial\windows.pyo", line 126, in posixfile
IOError: [Errno 2] D:\Work\fwarm5\.hg/store\00changelog.d: The system cannot find the file specified
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 608, in _populatesubrepos
File "mercurial\util.pyo", line 768, in __get__
File "mercurial\context.pyo", line 168, in substate
File "mercurial\subrepo.pyo", line 101, in state
File "mercurial\context.pyo", line 87, in __contains__
File "mercurial\util.pyo", line 768, in __get__
File "mercurial\context.pyo", line 531, in _manifest
File "mercurial\util.pyo", line 768, in __get__
File "mercurial\context.pyo", line 527, in _changeset
File "mercurial\changelog.pyo", line 471, in changelogrevision
File "mercurial\revlog.pyo", line 1205, in revision
File "mercurial\revlog.pyo", line 1129, in _chunks
File "mercurial\revlog.pyo", line 1091, in _chunkraw
File "mercurial\revlog.pyo", line 1066, in _getchunk
File "mercurial\revlog.pyo", line 1025, in _loadchunk
File "mercurial\store.pyo", line 480, in __call__
File "mercurial\scmutil.pyo", line 588, in __call__
File "mercurial\windows.pyo", line 126, in posixfile
IOError: [Errno 2] D:\Work\fwarm5\.hg/store\00changelog.d: The system cannot find the file specified