##// END OF EJS Templates
narrow: pass binary nodeids to generateellipsesbundle2()...
Pulkit Goyal -
r42560:f66628c1 default
parent child Browse files
Show More
@@ -61,8 +61,9 b' def getbundlechangegrouppart_narrow(bund'
61 61 oldexclude = sorted(filter(bool, kwargs.get(r'oldexcludepats', [])))
62 62 newinclude = sorted(filter(bool, kwargs.get(r'includepats', [])))
63 63 newexclude = sorted(filter(bool, kwargs.get(r'excludepats', [])))
64 known = {bin(n) for n in kwargs.get('known', [])}
64 65 generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
65 newexclude, version, common, kwargs.get('known', []),
66 newexclude, version, common, known,
66 67 kwargs.get(r'depth', None), heads)
67 68
68 69 def generateellipsesbundle2(bundler, repo, oldinclude, oldexclude, newinclude,
@@ -76,7 +77,6 b' def generateellipsesbundle2(bundler, rep'
76 77
77 78 heads = set(heads or repo.heads())
78 79 common = set(common or [nullid])
79 known = {bin(n) for n in known}
80 80 if known and (oldinclude != newinclude or oldexclude != newexclude):
81 81 # Steps:
82 82 # 1. Send kill for "$known & ::common"
General Comments 0
You need to be logged in to leave comments. Login now