Patchwork D1641: py3: handle keyword arguments correctly in simplemerge.py

login
register
mail settings
Submitter phabricator
Date Dec. 10, 2017, 2:40 a.m.
Message ID <differential-rev-PHID-DREV-cjaa6jeu4cpvgnezk66j-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26173/
State Superseded
Headers show

Comments

phabricator - Dec. 10, 2017, 2:40 a.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/D1641

AFFECTED FILES
  mercurial/simplemerge.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/simplemerge.py b/mercurial/simplemerge.py
--- a/mercurial/simplemerge.py
+++ b/mercurial/simplemerge.py
@@ -418,6 +418,8 @@ 
 
     The merged result is written into `localctx`.
     """
+    opts = pycompat.byteskwargs(opts)
+
     def readctx(ctx):
         # Merges were always run in the working copy before, which means
         # they used decoded data, if the user defined any repository