# HG changeset patch # User Pulkit Goyal # Date 1539862874 -10800 # Node ID dd816e5391f66b014c00ee5c6eb9d4e7d0607dbc # Parent b1eb19301c9438eea2c727d5e0edf375ebfa0557 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 diff -r b1eb19301c94 -r dd816e5391f6 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: