1. TortoiseHg
  2. TortoiseHg
  3. thg

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.

  • Participants
  • Parent commits d03f47a
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/filedialogs.py

View file
  • Ignore whitespace
         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()