Mercurial > hg
view mercurial/__main__.py @ 51233:ca81cd96000a
rust-index: add Sync bound to all relevant mmap-derived values
All readonly mmaps are Sync as far as Rust is concerned. Integrity of the
mmap'ed file is a concern separate to Rust's memory model, since it requires
out-of-program handling via locks, etc.
This will help when we start sharing the Rust Index with Python.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 26 Oct 2023 15:26:19 +0200 |
parents | e7ef11b75fdc |
children | 1c5810ce737e |
line wrap: on
line source
def run(): from . import demandimport with demandimport.tracing.log('hg script'): demandimport.enable() from . import dispatch dispatch.run() if __name__ == '__main__': run()