##// END OF EJS Templates
discovery: avoid computing identical sets of heads twice...
marmoute -
r42046:55919b96 default
parent child Browse files
Show More
@@ -193,7 +193,7 b' class partialdiscovery(object):'
193 sample = set(repo.revs('heads(%ld)', revs))
193 sample = set(repo.revs('heads(%ld)', revs))
194
194
195 # update from heads
195 # update from heads
196 revsheads = set(repo.revs('heads(%ld)', revs))
196 revsheads = sample.copy()
197 _updatesample(revs, revsheads, sample, repo.changelog.parentrevs)
197 _updatesample(revs, revsheads, sample, repo.changelog.parentrevs)
198
198
199 # update from roots
199 # update from roots
General Comments 0
You need to be logged in to leave comments. Login now