Issue #1594 resolved

Error when file history is open and corresponding patches are unapplied

André Sintzoff
created an issue

How to reproduce:

  1. Hg file log viewer (File History) is open for one file
  2. Unapply at least two patches modifying this file
** Mercurial version (2.1).  TortoiseHg version (2.3-rc)
** Command: --nofork workbench
** CWD: D:\hg-repo\example
** Encoding: cp1252
** Extensions loaded: patchbomb, reviewboard, mq, mercurial_keyring, rebase, transplant
** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
** Windows version: (5, 1, 2600, 2, 'Service Pack 3')
** Processor architecture: x86
** Qt-4.7.4 PyQt-4.8.6
Traceback (most recent call last):
  File "tortoisehg\hgqt\repomodel.pyo", line 481, in flags
  File "mercurial\localrepo.pyo", line 652, in changectx
  File "tortoisehg\hgqt\thgrepo.pyo", line 291, in __getitem__
  File "mercurial\localrepo.pyo", line 230, in __getitem__
  File "mercurial\context.pyo", line 26, in __init__
  File "mercurial\revlog.pyo", line 309, in node
IndexError: list index out of range

[...] 15 times the same error

Comments (7)

  1. Log in to comment