py3: add a r'' prefix in mercurial/exchange.py
authorPulkit Goyal <pulkit@yandex-team.ru>
Thu, 18 Oct 2018 14:41:14 +0300
changeset 40352 dd816e5391f6
parent 40351 b1eb19301c94
child 40353 a2ebdca4d10e
py3: add a r'' prefix in mercurial/exchange.py # skip-blame because just r'' prefix This fixes test-narrow-acl.t on py3 which was broken by one of the earlier patches. Differential Revision: https://phab.mercurial-scm.org/D5149
mercurial/exchange.py
--- a/mercurial/exchange.py	Thu Oct 18 14:37:38 2018 +0300
+++ b/mercurial/exchange.py	Thu Oct 18 14:41:14 2018 +0300
@@ -2170,7 +2170,7 @@
     if 'treemanifest' in repo.requirements:
         part.addparam('treemanifest', '1')
 
-    if (kwargs.get(r'narrow', False) and kwargs.get('narrow_acl', False)
+    if (kwargs.get(r'narrow', False) and kwargs.get(r'narrow_acl', False)
         and (include or exclude)):
         narrowspecpart = bundler.newpart('narrow:spec')
         if include: