by
Changes to 2 files · Browse files at d582c1b4b2bd Showing diff from parent 59002a185e7b b494b20baa96 Diff from another changeset...
@@ -621,8 +621,9 @@ except error.RepoError:
repo = None
if configrepo:
+ uroot = hglib.tounicode(root)
qtlib.ErrorMsgBox(_('No repository found'),
- _('no repo at ') + root, parent=self)
+ _('no repo at ') + uroot, parent=self)
if repo:
reporcpath = os.sep.join([repo.root, '.hg', 'hgrc'])
|
@@ -594,8 +594,9 @@ repo = thgrepo.repository(path=path)
self.addRepoTab(repo)
except RepoError:
+ upath = hglib.tounicode(path)
qtlib.WarningMsgBox(_('Failed to open repository'),
- _('%s is not a valid repository') % path)
+ _('%s is not a valid repository') % upath)
def goto(self, root, rev):
for rw in self._findrepowidget(root):
|
Loading...