1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 7735f09

workbench: fix non-ascii revset built from command-line filenames

  • Participants
  • Parent commits ba0c6b6
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/run.py

View file
  • Ignore whitespace
                     q.append('file("%s/**")' % pat)
                 elif os.path.isfile(f):
                     q.append('file("%s")' % pat)
-            w.setRevsetFilter(root, ' or '.join(q))
+            w.setRevsetFilter(root, hglib.tounicode(' or '.join(q)))
     if w.repoTabsWidget.count() <= 0:
         w.reporegistry.setVisible(True)
     return w