Patchwork D2319: py3: use pycompat.byteskwargs() to convert opts keys to bytes

login
register
mail settings
Submitter phabricator
Date Feb. 18, 2018, 1:29 p.m.
Message ID <differential-rev-PHID-DREV-exxphymdb635kqmvxsvr-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28072/
State Superseded
Headers show

Comments

phabricator - Feb. 18, 2018, 1:29 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2319

AFFECTED FILES
  hgext/mq.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -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