changeset 36166:ccf7ae119769

narrowcommands: more byteskwargs cleanup Differential Revision: https://phab.mercurial-scm.org/D2239
author Augie Fackler <augie@google.com>
date Tue, 13 Feb 2018 13:38:38 -0500
parents 53fe5a1a92bd
children 73621823a1ac
files hgext/narrow/narrowcommands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/narrow/narrowcommands.py	Tue Feb 13 13:37:43 2018 -0500
+++ b/hgext/narrow/narrowcommands.py	Tue Feb 13 13:38:38 2018 -0500
@@ -332,6 +332,7 @@
     If --clear is specified without any further options, the narrowspec will be
     empty and will not match any files.
     """
+    opts = pycompat.byteskwargs(opts)
     if narrowrepo.REQUIREMENT not in repo.requirements:
         ui.warn(_('The narrow command is only supported on respositories cloned'
                   ' with --narrow.\n'))