Patchwork D6445: narrow: move heads close to common as they are closely related

login
register
mail settings
Submitter phabricator
Date May 24, 2019, 2:24 p.m.
Message ID <7cb9ace39883201fa668330687b36e3b@localhost.localdomain>
Download mbox | patch
Permalink /patch/40229/
State Not Applicable
Headers show

Comments

phabricator - May 24, 2019, 2:24 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG343b3ed35cb8: narrow: move heads close to common as they are closely related (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6445?vs=15252&id=15255

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

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
@@ -63,11 +63,11 @@ 
     newexclude = sorted(filter(bool, kwargs.get(r'excludepats', [])))
     known = {bin(n) for n in kwargs.get('known', [])}
     generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
-            newexclude, version, common, known,
-            kwargs.get(r'depth', None), heads)
+                            newexclude, version, common, heads, known,
+                            kwargs.get(r'depth', None))
 
 def generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
-                            newexclude, version, common, known, depth, heads):
+                            newexclude, version, common, heads, known, depth):
     newmatch = narrowspec.match(repo.root, include=newinclude,
                                 exclude=newexclude)
     if depth is not None: