IndexError
Created originally on Bitbucket by Anonymous
After I rollback the commit, then I started getting the following stacktrace.
#!python
** Mercurial version (3.7.3). TortoiseHg version (3.7.3)
** Command: --nofork
** CWD: /home/takashi
** Encoding: UTF-8
** Extensions loaded: shelve, strip, mq, purge, rebase, convert, churn
** Python version: 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609]
** System: Linux takashi-Latitude-E5570 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64
** Qt-4.8.7 PyQt-4.11.4 QScintilla-2.9.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/workbench.py", line 662, in openRepo
if not self.repoTabsWidget.openRepo(root, bundle):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repotab.py", line 92, in openRepo
rw = self._createRepoWidget(root, bundle)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repotab.py", line 327, in _createRepoWidget
rw = repowidget.RepoWidget(repoagent, self, bundle=bundle)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repowidget.py", line 70, in __init__
self.setupUi()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repowidget.py", line 97, in setupUi
self.filterbar = RepoFilterBar(self._repoagent, self)
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repofilter.py", line 180, in __init__
self.refresh()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repofilter.py", line 447, in refresh
self._updateBranchFilter()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repofilter.py", line 392, in _updateBranchFilter
branches = hglib.namedbranches(self._repo)
File "/usr/lib/python2.7/dist-packages/tortoisehg/util/hglib.py", line 114, in namedbranches
branchmap = repo.branchmap()
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 813, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 108, in updatecache
partial = subset.branchmap().copy()
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 813, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 108, in updatecache
partial = subset.branchmap().copy()
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 813, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 108, in updatecache
partial = subset.branchmap().copy()
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 813, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 113, in updatecache
partial.update(repo, revs)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 269, in update
branch, closesbranch = getbranchinfo(r)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 410, in branchinfo
return self._names[branchidx], close
IndexError: list index out of range