hgext/purge.py
changeset 36571 5a3f8da663e5
parent 32375 04baab18d60a
child 39463 7fea205fd5dc
--- a/hgext/purge.py	Fri Mar 02 00:19:51 2018 -0500
+++ b/hgext/purge.py	Fri Mar 02 00:37:07 2018 -0500
@@ -31,6 +31,7 @@
 from mercurial import (
     cmdutil,
     error,
+    pycompat,
     registrar,
     scmutil,
     util,
@@ -84,6 +85,7 @@
     list of files that this program would delete, use the --print
     option.
     '''
+    opts = pycompat.byteskwargs(opts)
     act = not opts.get('print')
     eol = '\n'
     if opts.get('print0'):