1. Ragesh Krishna
  2. thg


Yuya Nishihara  committed 427efc0

history: convert encoding of keywords before passing to mercurial

Gtk widget uses UTF-8, but Mercurial is locale-dependent, so we need to
convert encoding of filter keywords.

  • Participants
  • Parent commits b9e4cfb
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/history.py

View file
  • Ignore whitespace
         ret = self.check_filter_text(text, mode)
         if not ret:
+        text = hglib.fromutf(text)
         opts = {}
         if mode == MODE_REVRANGE:
             opts['revlist'] = ret