# HG changeset patch # User Augie Fackler # Date 2018-02-13 18:38:38 # Node ID ccf7ae119769bc118bc34656bd9b5407a990b51b # Parent 53fe5a1a92bd693ae425dc811050f66d5ff888f9 narrowcommands: more byteskwargs cleanup Differential Revision: https://phab.mercurial-scm.org/D2239 diff --git a/hgext/narrow/narrowcommands.py b/hgext/narrow/narrowcommands.py --- a/hgext/narrow/narrowcommands.py +++ b/hgext/narrow/narrowcommands.py @@ -332,6 +332,7 @@ def trackedcmd(ui, repo, remotepath=None 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'))