1. Peer Sommerlund
  2. thg-startup-time

Commits

Yuya Nishihara  committed 2d7e05e

repotreeitem: fix non-ascii path handling at setData failure (fixes #1651)

  • Participants
  • Parent commits 1cdbd7b
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repotreeitem.py

View file
             if not hgrcutil.setConfigValue(abshgrcpath, 'web.name', shortname):
                 qtlib.WarningMsgBox(_('Unable to update repository name'),
                     _('An error occurred while updating the repository hgrc '
-                    'file (%s)' % abshgrcpath))
+                      'file (%s)') % hglib.tounicode(abshgrcpath))
                 return False
             self.setShortName(shortname)
             return True