Traceback when opening a no more existent repository having a non ASCII name
Created originally on Bitbucket by sintzoff (André Sintzoff)
When trying to open a no more existent repository, instead of displaying the window "Failed to open repository" the following traceback is generated.
{{{ #!python ** Mercurial version (1.8). TortoiseHg version (2.0.2+93-cb37eaea5d3e) ** Command: ** CWD: /home/as/hg-repo/thg ** Extensions loaded: rebase, graphlog, mercurial_keyring, transplant, mq ** Python version: 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] ** Qt-4.7.0 PyQt-4.7.4 Traceback (most recent call last): File "/home/as/hg-repo/thg/tortoisehg/hgqt/workbench.py", line 349, in openRepo self._openRepo(path=repopath, reuse=reuse) File "/home/as/hg-repo/thg/tortoisehg/hgqt/workbench.py", line 598, in _openRepo _('%s is not a valid repository') % path) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 21: ordinal not in range(128)
}}}