D5023: py3: add some r'' prefixes in hgext/narrow/narrowwirepeer.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Oct 13 01:04:33 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG885d5cf9b6a4: py3: add some r'' prefixes in hgext/narrow/narrowwirepeer.py (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5023?vs=11957&id=11978
REVISION DETAIL
https://phab.mercurial-scm.org/D5023
AFFECTED FILES
hgext/narrow/narrowwirepeer.py
CHANGE DETAILS
diff --git a/hgext/narrow/narrowwirepeer.py b/hgext/narrow/narrowwirepeer.py
--- a/hgext/narrow/narrowwirepeer.py
+++ b/hgext/narrow/narrowwirepeer.py
@@ -100,10 +100,10 @@
prefer_uncompressed=preferuncompressed)
def peernarrowwiden(remote, **kwargs):
- for ch in ('oldincludes', 'newincludes', 'oldexcludes', 'newexcludes',
- 'commonheads', 'known'):
+ for ch in (r'oldincludes', r'newincludes', r'oldexcludes', r'newexcludes',
+ r'commonheads', r'known'):
kwargs[ch] = wireprototypes.encodelist(kwargs[ch])
- kwargs['ellipses'] = '%i' % bool(kwargs['ellipses'])
+ kwargs[r'ellipses'] = '%i' % bool(kwargs[r'ellipses'])
f = remote._callcompressable('narrow_widen', **kwargs)
return bundle2.getunbundler(remote.ui, f)
To: pulkit, durin42, martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list