This is an archive of the discontinued Mercurial Phabricator instance.

rust-discovery: optionally don't randomize at all, for tests
AbandonedPublic

Authored by gracinet on Jun 12 2019, 2:17 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

As seen from Python, this is a new randomize kwarg in init of the
discovery object. It replaces random picking by some arbitrary yet
deterministic strategy.

This is the same as what test-setdiscovery.t does, with the added
benefit to be usable both in Python and Rust implementations.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

gracinet created this revision.Jun 12 2019, 2:17 PM
gracinet abandoned this revision.Jun 12 2019, 2:43 PM

Bad phabsend usage, sorry.