changeset 42379:e2e507573c7c

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
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 25 May 2019 19:49:44 +0300
parents 7a64ad3f325d
children 12bd4e2d4d06
files hgext/narrow/narrowbundle2.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))