py3: use pycompat.byteskwargs() to convert opts keys to bytes
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 18 Feb 2018 17:35:13 +0530
changeset 36281 d822f3fb6be8
parent 36280 685bcdd236b5
child 36282 3e1139b7d617
py3: use pycompat.byteskwargs() to convert opts keys to bytes Differential Revision: https://phab.mercurial-scm.org/D2319
hgext/mq.py
--- a/hgext/mq.py	Sun Feb 18 00:02:33 2018 -0500
+++ b/hgext/mq.py	Sun Feb 18 17:35:13 2018 +0530
@@ -2267,7 +2267,7 @@
     To stop managing a patch and move it into permanent history,
     use the :hg:`qfinish` command."""
     q = repo.mq
-    q.delete(repo, patches, opts)
+    q.delete(repo, patches, pycompat.byteskwargs(opts))
     q.savedirty()
     return 0