Cannot open repository
Created originally on Bitbucket by benoit_mortgat (Benoit Mortgat)
My Mercurial repository cannot be opened anymore in TortoiseHg.
The error also occurs if all extensions are disabled.
It also occurs if I delete %userprofile%\AppData\Roaming\TortoiseHg
and reset mercurial.ini
hg verify
says there is no problem on the repository.
Here is the backtrace:
#!txt
#!python
** Mercurial version (3.7.3). TortoiseHg version (3.7.3)
** Command:
** CWD: C:\Program Files\TortoiseHg
** Encoding: cp1252
** Extensions loaded: rebase, strip, mq, graphlog, record, share, convert, purge, eol, histedit
** Python version: 2.7.9 (default, Dec 10 2014, 12:28:03) [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.6 PyQt-4.11.3 QScintilla-2.8.4
Traceback (most recent call last):
File "tortoisehg\hgqt\workbench.pyo", line 932, in openRepository
File "tortoisehg\hgqt\workbench.pyo", line 662, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 92, in openRepo
File "tortoisehg\hgqt\repotab.pyo", line 327, in _createRepoWidget
File "tortoisehg\hgqt\repowidget.pyo", line 70, in __init__
File "tortoisehg\hgqt\repowidget.pyo", line 97, in setupUi
File "tortoisehg\hgqt\repofilter.pyo", line 180, in __init__
File "tortoisehg\hgqt\repofilter.pyo", line 447, in refresh
File "tortoisehg\hgqt\repofilter.pyo", line 392, in _updateBranchFilter
File "tortoisehg\util\hglib.pyo", line 114, in namedbranches
File "mercurial\localrepo.pyo", line 813, in branchmap
File "mercurial\branchmap.pyo", line 113, in updatecache
File "mercurial\branchmap.pyo", line 269, in update
File "mercurial\branchmap.pyo", line 410, in branchinfo
IndexError: list index out of range