Closed by commit rHGb6f3f704a561: rust-discovery: read the index from a repo
passed at init (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
durin42 added inline comments.
INLINE COMMENTS
> test-rust-discovery.py:34
>
> +class fakerepo(object):
> +def __init__(self, idx):
I'd rather we not have this one object that mocks both a repo and a changelog -
it _will_ become confusing in the future. Make it two objects.
REPOSITORY
Alphare updated this revision to Diff 16011.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6517?vs=15932=16011
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6517/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6517
AFFECTED FILES
Alphare updated this revision to Diff 15932.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6517?vs=15465=15932
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6517/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6517
AFFECTED FILES
gracinet created this revision.
Herald added subscribers: mercurial-devel, kevincox, durin42.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This makes the API of the Rust PartialDiscovery object now
the same (or rather a subset) of the Python object, hence
easier to control