Commits

Peer Sommerlund  committed 661675e

pbranch: Use hglib.fromunicode instead of str

  • Participants
  • Parent commits 4e8dc15

Comments (0)

Files changed (1)

File tortoisehg/hgqt/pbranch.py

         new_name, ok = QInputDialog.getText(self, title, label)
         if not ok:
             return False
-        self.pnew(str(new_name))
+        self.pnew(hglib.fromunicode(new_name))
         return True
         
     def pnew(self, patch_name):