py3: add some r'' prefixes in hgext/narrow/narrowwirepeer.py
This fixes test-narrow-widen-no-ellipsis.t on Python 3.
# skip-blame because just r'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D5023
--- a/hgext/narrow/narrowwirepeer.py Fri Oct 12 19:49:02 2018 +0200
+++ b/hgext/narrow/narrowwirepeer.py Sat Oct 13 00:35:37 2018 +0300
@@ -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)