Repository browser error while stripping
Created originally on Bitbucket by eezIT (Laurent Simon)
The following error occurred in background from the repository browser just after making a strip from the command line of a full branch (a strip from the revision where the branch was created):
#!python
** Mercurial version (2.8.2). TortoiseHg version (2.10)
** Command: -R /home/lsi/Work/Projets/CNAM/r5/R5_J --nofork log
** CWD: /home/lsi/Work/Projets/CNAM/r5/R5_J
** Encoding: UTF-8
** Extensions loaded: rebase, extdiff, strip, mq, histedit
** Python version: 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2]
** System: Linux Stratic02 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64
** Qt-4.8.6 PyQt-4.10.4 QScintilla-2.8.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repowidget.py", line 1069, in repositoryChanged
self.rebuildGraph()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repowidget.py", line 1036, in rebuildGraph
self.setupModels()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repowidget.py", line 899, in setupModels
self.filterbar.getShowGraftSource())
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repomodel.py", line 174, in __init__
self.initBranchColors()
File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/repomodel.py", line 193, in initBranchColors
for branch in sorted(self.repo.branchtags().keys()):
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 677, in branchtags
for bn, heads in self.branchmap().iteritems():
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 654, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 75, in updatecache
partial = subset.branchmap().copy()
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 654, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 75, in updatecache
partial = subset.branchmap().copy()
File "/usr/lib/python2.7/dist-packages/mercurial/localrepo.py", line 654, in branchmap
branchmap.updatecache(self)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 80, in updatecache
partial.update(repo, revs)
File "/usr/lib/python2.7/dist-packages/mercurial/branchmap.py", line 192, in update
bheadrevs[0]))
File "/usr/lib/python2.7/dist-packages/mercurial/ancestor.py", line 352, in __iter__
for parent in parentrevs(visit.popleft()):
File "/usr/lib/python2.7/dist-packages/mercurial/changelog.py", line 205, in parentrevs
raise IndexError(rev)
IndexError: 137