Mercurial > public > mercurial-scm > hg
changeset 52974:ea9846b8e539
importrust: migrate over the last `dirstate` import
This was missed in 0bd91b0a1a93. It still works because we haven't removed
the `hg-cpython` bridge yet.
I'm honestly not sure if we should continue advertising for fsmonitor at all
with the Rust extensions, but that's another discussion.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 17 Feb 2025 16:28:00 +0100 |
parents | ef4192dec3d3 |
children | 0db5f7987b13 |
files | mercurial/merge.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/merge.py Wed Feb 19 00:26:24 2025 +0100 +++ b/mercurial/merge.py Mon Feb 17 16:28:00 2025 +0100 @@ -1844,7 +1844,7 @@ b'fsmonitor', b'warn_update_file_count' ) # avoid cycle dirstate -> sparse -> merge -> dirstate - dirstate_rustmod = policy.importrust("dirstate") + dirstate_rustmod = policy.importrust("dirstate", pyo3=True) if dirstate_rustmod is not None: # When using rust status, fsmonitor becomes necessary at higher sizes