Closed by commit rHG4d20b1fe8a72: rust-discovery: using from Python code (authored by gracinet). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6430?vs=15487&id=16192 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6430/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6430 AFFECTED FILES mercurial/setdiscovery.py CHANGE DETAILS diff --git a/mercurial/setdiscovery.py b/mercurial/setdiscovery.py --- a/mercurial/setdiscovery.py +++ b/mercurial/setdiscovery.py @@ -52,6 +52,7 @@ ) from . import ( error, + policy, util, ) @@ -269,6 +270,10 @@ sample.update(takefrom[:more]) return sample +partialdiscovery = policy.importrust('discovery', + member='PartialDiscovery', + default=partialdiscovery) + def findcommonheads(ui, local, remote, initialsamplesize=100, fullsamplesize=200, To: gracinet, #hg-reviewers Cc: durin42, pulkit, marmoute, martinvonz, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel