1. TortoiseHg
  2. TortoiseHg
  3. thg


Yuya Nishihara  committed 2537f86

workbench: fix unicode error when opening repo via IPC channel (fixes #2135)

As workbench.run() sends root path in local encoding, it should use _openRepo()

  • Participants
  • Parent commits 9cf6920
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/workbench.py

View file
         socket = self.server.nextPendingConnection()
         if socket:
-            root = socket.readAll()
+            root = str(socket.readAll())
             if root and root != '[echo]':
-                self.openRepo(root, reuse=True)
+                self._openRepo(root, reuse=True)
                 # Bring the workbench window to the front
                 # This assumes that the client process has