##// END OF EJS Templates
subsetmaker: stabilize the computation of `scratch` subset...
marmoute -
r49877:18622379 default
parent child Browse files
Show More
@@ -102,7 +102,9 b' def scratch(repo, subset, x):'
102 102 for x in range(n):
103 103 if not heads:
104 104 break
105 pick = rand.choice(list(heads))
105 pickable = list(heads)
106 pickable.sort()
107 pick = rand.choice(pickable)
106 108 heads.remove(pick)
107 109 assert pick not in selected
108 110 selected.add(pick)
General Comments 0
You need to be logged in to leave comments. Login now