changeset 40352:dd816e5391f6

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
author Pulkit Goyal <pulkit@yandex-team.ru>
date Thu, 18 Oct 2018 14:41:14 +0300
parents b1eb19301c94
children a2ebdca4d10e
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: