1. TortoiseHg
  2. TortoiseHg
  3. thg
Issue #2221 invalid

Corrupted change log

Anonymous created an issue

I was running a Windows 7 VM and went to commit my code changes locally when the VM crashed in the middle of the commit. Now I'm unable to perform another commit or open the workbench for this repository.

See bug report below:

** Mercurial version (2.3.1).  TortoiseHg version (2.5)
** Command: --nofork workbench
** CWD: D:\Development\VS2010\TesseraWithLINQ
** Encoding: cp1252
** Extensions loaded: 
** Python version: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.0 PyQt-4.9.1
Traceback (most recent call last):
  File "tortoisehg\hgqt\run.pyo", line 554, in __call__
  File "tortoisehg\hgqt\workbench.pyo", line 1282, in run
  File "tortoisehg\hgqt\workbench.pyo", line 600, in showRepo
  File "tortoisehg\hgqt\workbench.pyo", line 935, in _openRepo
  File "tortoisehg\hgqt\workbench.pyo", line 777, in addRepoTab
  File "tortoisehg\hgqt\repowidget.pyo", line 79, in __init__
  File "mercurial\localrepo.pyo", line 361, in __len__
  File "mercurial\scmutil.pyo", line 905, in __get__
  File "mercurial\localrepo.pyo", line 319, in changelog
  File "mercurial\changelog.pyo", line 115, in __init__
  File "mercurial\revlog.pyo", line 245, in __init__
RevlogError: index 00changelog.i is corrupted

Comments (4)

  1. Log in to comment