py3: fix test-narrow* which started failing because of recent changes
authorPulkit Goyal <7895pulkit@gmail.com>
Sat, 25 May 2019 19:49:44 +0300
changeset 42379 e2e507573c7c
parent 42375 7a64ad3f325d
child 42380 12bd4e2d4d06
py3: fix test-narrow* which started failing because of recent changes #skip-blame because just r'' prefix Differential Revision: https://phab.mercurial-scm.org/D6447
hgext/narrow/narrowbundle2.py
--- a/hgext/narrow/narrowbundle2.py	Sat May 11 00:06:06 2019 -0700
+++ b/hgext/narrow/narrowbundle2.py	Sat May 25 19:49:44 2019 +0300
@@ -61,7 +61,7 @@
     oldexclude = sorted(filter(bool, kwargs.get(r'oldexcludepats', [])))
     newinclude = sorted(filter(bool, kwargs.get(r'includepats', [])))
     newexclude = sorted(filter(bool, kwargs.get(r'excludepats', [])))
-    known = {bin(n) for n in kwargs.get('known', [])}
+    known = {bin(n) for n in kwargs.get(r'known', [])}
     generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
                             newexclude, version, common, heads, known,
                             kwargs.get(r'depth', None))