Error when adding a repo
Created originally on Bitbucket by kandul (Michał Kandulski)
When I try to add a repo to a group following error occures:
{{{ #!python ** Mercurial version (1.8.1+50-bb5cecde2d8e). TortoiseHg version (2.0.3+132-8dcc81fbfdba) ** Command: ** CWD: D:\cvs ** Extensions loaded: extdiff, collapse, histedit, rebase, convert, record, transplant, mq, hgk, graphlog, highlight, eol ** Python version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] ** Windows version: (6, 0, 6002, 2, 'Service Pack 2') ** Processor architecture: x86 ** Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "d:\prj\thg\tortoisehg\hgqt\reporegistry.py", line 316, in addNewRepo self.model().addRepo(self.selitem, repo) AttributeError: 'RepoRegistryView' object has no attribute 'model'
}}}
A attach a patch.
Attachments: fix_reporegistry.patch