changeset 36348:f3b9377d6aea

narrowbundle2: this dict contains native strings, look kws up as such We could also do a byteskwargs dance, but that seems silly given that we only need this one element. Differential Revision: https://phab.mercurial-scm.org/D2368
author Augie Fackler <augie@google.com>
date Wed, 21 Feb 2018 11:58:41 -0500
parents f6ddbcff5d7b
children 658d694a656e
files hgext/narrow/narrowbundle2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/narrow/narrowbundle2.py	Wed Feb 21 11:56:22 2018 -0500
+++ b/hgext/narrow/narrowbundle2.py	Wed Feb 21 11:58:41 2018 -0500
@@ -479,7 +479,7 @@
         if repo.ui.has_section(_NARROWACL_SECTION):
             getbundlechangegrouppart_narrow(
                 *args, **applyacl_narrow(repo, kwargs))
-        elif kwargs.get('narrow', False):
+        elif kwargs.get(r'narrow', False):
             getbundlechangegrouppart_narrow(*args, **kwargs)
         else:
             origcgfn(*args, **kwargs)