Traceback when getting settings of a no more existent repository
Created originally on Bitbucket by sintzoff (André Sintzoff)
The following traceback is generated when getting settings of a no more existent repository (whatever the encoding of its name).
{{{ #!python ** Mercurial version (1.8.1+20110310). TortoiseHg version (2.0.2+98-3ff22bdd993e) ** Command: ** CWD: /Users/as/hg-repo/thg ** Extensions loaded: rebase, transplant, mq, hgk, graphlog, patchbomb, mercurial_keyring, zeroconf, extdiff, reviewboard ** Python version: 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) [GCC 4.0.1 (Apple Inc. build 5493)] ** Qt-4.7.0 PyQt-4.8.3 Traceback (most recent call last): File "/Users/as/hg-repo/thg/tortoisehg/hgqt/reporegistry.py", line 148, in startSettings self.selitem.internalPointer().startSettings(self.parent()) File "/Users/as/hg-repo/thg/tortoisehg/hgqt/repotreeitem.py", line 214, in startSettings self.ensureRepoLoaded() File "/Users/as/hg-repo/thg/tortoisehg/hgqt/repotreeitem.py", line 225, in ensureRepoLoaded self._repo = thgrepo.repository(path=self._root) File "/Users/as/hg-repo/thg/tortoisehg/hgqt/thgrepo.py", line 50, in repository repo = hg.repository(_ui, path, create) File "/Library/Python/2.6/site-packages/mercurial/hg.py", line 94, in repository repo = lookup(path).instance(ui, path, create) File "/Library/Python/2.6/site-packages/mercurial/localrepo.py", line 2031, in instance return localrepository(ui, util.drop_scheme('file', path), create) File "/Library/Python/2.6/site-packages/mercurial/localrepo.py", line 66, in init raise error.RepoError(("repository %s not found") % path) RepoError: repository /Users/as/hg-repo/test not found
}}}
I'm wondering if thg should call Mercurial as the repo does not exist.