py3: handle keyword arguments correctly in simplemerge.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 10 Dec 2017 04:48:24 +0530
changeset 35368 93c4958d987c
parent 35367 6eee2bcc57c4
child 35369 c8ecd96cc357
py3: handle keyword arguments correctly in simplemerge.py Differential Revision: https://phab.mercurial-scm.org/D1641
mercurial/simplemerge.py
--- a/mercurial/simplemerge.py	Sun Dec 10 04:48:12 2017 +0530
+++ b/mercurial/simplemerge.py	Sun Dec 10 04:48:24 2017 +0530
@@ -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