narrowbundle2: this dict contains native strings, look kws up as such
authorAugie Fackler <augie@google.com>
Wed, 21 Feb 2018 11:58:41 -0500
changeset 36348 f3b9377d6aea
parent 36347 f6ddbcff5d7b
child 36349 658d694a656e
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
hgext/narrow/narrowbundle2.py
--- 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)