# HG changeset patch
# User Matt Harbison <
matt_h...@yahoo.com>
# Date 1657257345 14400
# Fri Jul 08 01:15:45 2022 -0400
# Branch stable
# Node ID d536a52e83134f9b45322e3e0658576904c392b2
# Parent 04fa0699e5dc0b050963a26923c5975eda90af86
quickop: fix a bytes/str mismatch from context menu file removal (fixes #5809)
diff --git a/tortoisehg/hgqt/quickop.py b/tortoisehg/hgqt/quickop.py
--- a/tortoisehg/hgqt/quickop.py
+++ b/tortoisehg/hgqt/quickop.py
@@ -329,4 +329,4 @@
return HeadlessQuickop(repoagent, cmdline)
else:
os.chdir(repo.root) # for scmutil.match() in StatusThread
- return QuickOpDialog(repoagent, command, pats, None)
+ return QuickOpDialog(repoagent, hglib.tounicode(command), pats, None)