rust-cpython: generalised conversion function

Authored by gracinet.

Description

rust-cpython: generalised conversion function

Because hg::ancestors::MissingAncestors has methods taking
some HashSet<Revision> besides impl IntoIterator<Item = Revision>
as parameters we'll need the more generic rev_pyiter_collect() function
to also build these

Differential Revision: https://phab.mercurial-scm.org/D5549

Details

Committed
gracinetJan 9 2019, 11:31 AM
Differential Revision
D5549: rust-cpython: generalised conversion function
Parents
rHG1b4b94bac8a0: rust-cpython: style consistency leftovers
Branches
Unknown
Tags
Unknown