Exception with pbranch enabled
Created originally on Bitbucket by Anonymous
The following exception is thrown after every operation (commit, rollback, ...) if pbranch extension is enabled and Patch Branch tab has been open at least once:
{{{ #!python ** Please report this bug to http://bitbucket.org/tortoisehg/thg/issues ** Mercurial version (1.8). TortoiseHg version (2.0+25-e3c4d9604e4a) ** Command: ** CWD: C:\Program Files\TortoiseHg\source\thg ** Extensions loaded: histedit, rebase, transplant, hgexternals, mq, hggit, crecord, graphlog, record, pbranch ** Python version: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] ** Windows version: (5, 1, 2600, 2, 'Dodatek Service Pack 3') ** Processor architecture: unknown ** Qt-4.6.2 PyQt-4.7.2 Traceback (most recent call last): File "C:\Program Files\TortoiseHg\source\thg\tortoisehg\hgqt\pbranch.py", line 413, in repositoryChanged self.refresh() File "C:\Program Files\TortoiseHg\source\thg\tortoisehg\hgqt\pbranch.py", line 123, in refresh patchnamecol = PatchBranchModel._columns.index('Name') # Column used to store patch name AttributeError: 'tuple' object has no attribute 'index'
}}}