Mercurial > hg-stable
comparison hgweb.cgi @ 42468:a3a8887e4426
rust: using policy.importrust from Python callers
This commit converts all current Python callers of
mercurial.rustext to the new policy.importrust system.
After this point, going through policy.importrust
or policy.importmod (in some more distant future)
is mandatory for callers of Rust code outside of
Python tests.
We felt it to be appropriate to keep Rust-specific tests
run inconditionally if the Rust extensions are present.
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Thu, 30 May 2019 09:14:41 +0200 |
parents | 4b0fc75f9403 |
children | 47ef023d0165 |
comparison
equal
deleted
inserted
replaced
42467:810f66b468cd | 42468:a3a8887e4426 |
---|