--- a/mercurial/setdiscovery.py Tue May 21 17:43:55 2019 +0200
+++ b/mercurial/setdiscovery.py Tue May 21 17:44:15 2019 +0200
@@ -390,7 +390,9 @@
# full blown discovery
- disco = partialdiscovery(local, ownheads, remote.limitedarguments)
+ randomize = ui.configbool('devel', 'discovery.randomize')
+ disco = partialdiscovery(local, ownheads, remote.limitedarguments,
+ randomize=randomize)
# treat remote heads (and maybe own heads) as a first implicit sample
# response
disco.addcommons(knownsrvheads)