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

login
register
mail settings
Submitter phabricator
Date May 25, 2019, 5:03 p.m.
Message ID <differential-rev-PHID-DREV-xme2xbcenlct2g4czvns-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/40235/
State Superseded
Headers show

Comments

phabricator - May 25, 2019, 5:03 p.m.
pulkit created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: martinvonz.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  #skip-blame because just r'' prefix

REPOSITORY
  rHG Mercurial

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))