Patchwork D6447: py3: fix test-narrow* which started failing because of recent changes

login
register
mail settings
Submitter phabricator
Date May 26, 2019, 5:06 a.m.
Message ID <92de9f408cda620d7c676b7da868dee5@localhost.localdomain>
Download mbox | patch
Permalink /patch/40242/
State Not Applicable
Headers show

Comments

phabricator - May 26, 2019, 5:06 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGe2e507573c7c: py3: fix test-narrow* which started failing because of recent changes (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6447?vs=15260&id=15267

REVISION DETAIL
  https://phab.mercurial-scm.org/D6447

AFFECTED FILES
  hgext/narrow/narrowbundle2.py

CHANGE DETAILS




To: pulkit, durin42, martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/narrow/narrowbundle2.py b/hgext/narrow/narrowbundle2.py
--- a/hgext/narrow/narrowbundle2.py
+++ b/hgext/narrow/narrowbundle2.py
@@ -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))