Commits

Steve Borho committed 92fb38b

update: make title UTF8 clean

  • Participants
  • Parent commits ddfbe8d

Comments (0)

Files changed (1)

File hggtk/update.py

 from mercurial import util, hg, ui
 from mercurial.node import *
 from shlib import shell_notify, set_tortoise_icon
-from hglib import rootpath, RepoError
+from hglib import rootpath, toutf, RepoError
 
 class UpdateDialog(gtk.Window):
     """ Dialog to update Mercurial repo """
             return None
 
         # set dialog title
-        title = "hg update - %s" % self.cwd
+        title = "hg update - %s" % toutf(self.cwd)
         self.set_title(title)
 
         self._create()