Commits

Yuya Nishihara committed 6c6d2cd

filedialogs: make sure to not accept unicode filename

5d0520eb19c9 worked around the bug of context menu handling in manifestdialog,
which no longer exists.

Comments (0)

Files changed (1)

tortoisehg/hgqt/filedialogs.py

         self.setRepoViewer(repoviewer)
         self._show_rev = None
 
-        if isinstance(filename, (unicode, QString)):
-            filename = hglib.fromunicode(filename)
+        assert not isinstance(filename, (unicode, QString))
         self.filename = filename
 
         self.createActions()