diff mercurial/commands.py @ 31494:a992caaf0e22

py3: convert log opts to bytes-key dict Now simple log command works.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 14 Mar 2017 18:23:59 +0900
parents 06d3c40fc3e7
children 2abba5068aa1
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Mar 14 18:16:13 2017 +0900
+++ b/mercurial/commands.py	Tue Mar 14 18:23:59 2017 +0900
@@ -3393,6 +3393,7 @@
     Returns 0 on success.
 
     """
+    opts = pycompat.byteskwargs(opts)
     if opts.get('follow') and opts.get('rev'):
         opts['rev'] = [revsetlang.formatspec('reverse(::%lr)', opts.get('rev'))]
         del opts['follow']