view hgext3rd/__init__.py @ 52044:0cd16b1d613f

rust-dirstate: use a struct as arguments for the high-level `reset_state` This makes the interface a lot clearer at the call site and prevents silly mistakes, as an API with a bunch of booleans is prone to errors. This refactor adds a `from_empty` parameter for a fast-path when resetting and entry we're sure does not exist. It will be used in the upcoming update Rust fastpath, and was not split to prevent more churn.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 30 Sep 2024 17:19:35 +0200
parents f4733654f144
children
line wrap: on
line source

# name space package to host third party extensions

from __future__ import annotations

import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)