hgext/narrow/narrowwirepeer.py
changeset 40212 885d5cf9b6a4
parent 40148 74558635dad5
child 40344 2c5835b4246b
--- 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)