Patchwork D3593: py3: fix kwargs handling in hgext/split.py

login
register
mail settings
Submitter phabricator
Date May 19, 2018, 7:38 p.m.
Message ID <e48606bbc2d263ee6505e07aa3ea6b98@localhost.localdomain>
Download mbox | patch
Permalink /patch/31714/
State Not Applicable
Headers show

Comments

phabricator - May 19, 2018, 7:38 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5ba0cf22e4d0: py3: fix kwargs handling in hgext/split.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3593?vs=8764&id=8798

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

AFFECTED FILES
  hgext/split.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/split.py b/hgext/split.py
--- a/hgext/split.py
+++ b/hgext/split.py
@@ -60,6 +60,7 @@ 
     By default, rebase connected non-obsoleted descendants onto the new
     changeset. Use --no-rebase to avoid the rebase.
     """
+    opts = pycompat.byteskwargs(opts)
     revlist = []
     if opts.get('rev'):
         revlist.append(opts.get('rev'))