[PATCH] quickop: fix a bytes/str mismatch from context menu file removal (fixes #5809)

2 views
Skip to first unread message

Matt Harbison

unread,
Jul 8, 2022, 1:16:30 AM7/8/22
to thg...@googlegroups.com
# 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)

Yuya Nishihara

unread,
Jul 8, 2022, 3:26:15 AM7/8/22
to Matt Harbison, thg...@googlegroups.com
On Fri, 08 Jul 2022 01:16:27 -0400, Matt Harbison wrote:
> # 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)

Queued for stable, thanks.
Reply all
Reply to author
Forward
0 new messages