# HG changeset patch
# User Aay Jay Chan <
aayja...@gmail.com>
# Date 1708727934 0
# Fri Feb 23 22:38:54 2024 +0000
# Branch stable
# Node ID 1fabcaa0804d3c09ce394ed75e2bdfb489871442
# Parent 6364e3b9c0dfa953844c2fc0edf36c42bec6e751
py3: fix bytes/str issue when finding matching revisions
diff --git a/tortoisehg/hgqt/matching.py b/tortoisehg/hgqt/matching.py
--- a/tortoisehg/hgqt/matching.py
+++ b/tortoisehg/hgqt/matching.py
@@ -274,7 +274,7 @@
if chk.isChecked():
fields.append(field)
- rev = hglib.fromunicode(self.rev_combo.currentText())
+ rev = self.rev_combo.currentText()
if fields:
self.revsetexpression = ("matching(%s, '%s')"
% (rev, ' '.join(fields)))