##// END OF EJS Templates
setdiscovery: use a revset instead of dagutil.descendantset()...
Gregory Szorc -
r39202:484c9fe5 default
parent child Browse files
Show More
@@ -215,7 +215,12 b' def findcommonheads(ui, local, remote,'
215
215
216 if sample:
216 if sample:
217 missinginsample = [n for i, n in enumerate(sample) if not yesno[i]]
217 missinginsample = [n for i, n in enumerate(sample) if not yesno[i]]
218 missing.update(dag.descendantset(missinginsample, missing))
218
219 if missing:
220 missing.update(local.revs('descendants(%ld) - descendants(%ld)',
221 missinginsample, missing))
222 else:
223 missing.update(local.revs('descendants(%ld)', missinginsample))
219
224
220 undecided.difference_update(missing)
225 undecided.difference_update(missing)
221
226
General Comments 0
You need to be logged in to leave comments. Login now