Commits

Anonymous committed 129e0dc

history: decode branch name from combobox correctly

Comments (0)

Files changed (1)

tortoisehg/hgtk/history.py

             self.lastbranchrow = row
             self.filterbar.get_button('branch').set_active(True)
             self.filterbar.get_button('branch').set_sensitive(True)
-            self.reload_log(branch=combo.get_model()[row][0])
+            branch = hglib.fromutf(combo.get_model()[row][0])
+            self.reload_log(branch=branch)
 
             bname = combo.get_active_text() # utf8 encoded
             menu = self.menuitems.get('@' + bname)