mercurial/commands.py
changeset 31487 a992caaf0e22
parent 31486 06d3c40fc3e7
child 31534 2abba5068aa1
--- 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']