##// END OF EJS Templates
mmap: add a `is_mmap_safe` method to vfs...
mmap: add a `is_mmap_safe` method to vfs This will be useful to safeguard mmap usage to void SIGBUS when repositories lives on a NFS drive.

File last commit:

r51590:e7ef11b7 default
r52545:ba205f94 stable
Show More
__main__.py
12 lines | 215 B | text/x-python | PythonLexer
Jason R. Coombs
library: incorporate demandimport into runpy invocation
r51590 def run():
from . import demandimport
with demandimport.tracing.log('hg script'):
demandimport.enable()
from . import dispatch
dispatch.run()
Jason R. Coombs
library: enable runpy invocation on mercurial package
r51589 if __name__ == '__main__':
Jason R. Coombs
library: incorporate demandimport into runpy invocation
r51590 run()