##// END OF EJS Templates
narrow: move heads close to common as they are closely related...
Pulkit Goyal -
r42561:343b3ed3 default
parent child Browse files
Show More
@@ -63,11 +63,11 b' def getbundlechangegrouppart_narrow(bund'
63 newexclude = sorted(filter(bool, kwargs.get(r'excludepats', [])))
63 newexclude = sorted(filter(bool, kwargs.get(r'excludepats', [])))
64 known = {bin(n) for n in kwargs.get('known', [])}
64 known = {bin(n) for n in kwargs.get('known', [])}
65 generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
65 generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
66 newexclude, version, common, known,
66 newexclude, version, common, heads, known,
67 kwargs.get(r'depth', None), heads)
67 kwargs.get(r'depth', None))
68
68
69 def generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
69 def generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
70 newexclude, version, common, known, depth, heads):
70 newexclude, version, common, heads, known, depth):
71 newmatch = narrowspec.match(repo.root, include=newinclude,
71 newmatch = narrowspec.match(repo.root, include=newinclude,
72 exclude=newexclude)
72 exclude=newexclude)
73 if depth is not None:
73 if depth is not None:
General Comments 0
You need to be logged in to leave comments. Login now