##// END OF EJS Templates
rust-discovery: using from Python code...
Georges Racinet -
r42972:4d20b1fe default
parent child Browse files
Show More
@@ -52,6 +52,7 b' from .node import ('
52 )
52 )
53 from . import (
53 from . import (
54 error,
54 error,
55 policy,
55 util,
56 util,
56 )
57 )
57
58
@@ -269,6 +270,10 b' class partialdiscovery(object):'
269 sample.update(takefrom[:more])
270 sample.update(takefrom[:more])
270 return sample
271 return sample
271
272
273 partialdiscovery = policy.importrust('discovery',
274 member='PartialDiscovery',
275 default=partialdiscovery)
276
272 def findcommonheads(ui, local, remote,
277 def findcommonheads(ui, local, remote,
273 initialsamplesize=100,
278 initialsamplesize=100,
274 fullsamplesize=200,
279 fullsamplesize=200,
General Comments 0
You need to be logged in to leave comments. Login now