sapling/edenscm/hgext/extlib
Xavier Deguillard 880d2f4e13 remotefilelog: handle missing packfiles properly
Summary:
Now that repacks runs more often, it's easier to trigger a race between repack
deleting packfiles, and another mercurial process listing the packfiles and
trying to open them. If the packfiles are deleted after the directory listing,
all the packfiles will fail to be opened and were mis-reported as corrupted.

Reviewed By: quark-zju

Differential Revision: D14648308

fbshipit-source-id: c3b852f669e28db6f622bde217f339533e094223
2019-03-28 10:24:29 -07:00
..
cfastmanifest codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
cstore manifest: drop manifestv2 support 2019-03-26 13:32:45 -07:00
ctreemanifest codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
indexes build: remove profile.lto setting from crates in workspace 2019-03-25 16:38:41 -07:00
phabricator codeformat - remove weird looking + for string concat on the same line 2019-03-13 11:40:26 -07:00
pyrevisionstore remotefilelog: handle missing packfiles properly 2019-03-28 10:24:29 -07:00
pywatchman watchman: canonicalize repo root before querying watchman 2019-02-04 10:34:08 -08:00
watchmanclient watchman: canonicalize repo root before querying watchman 2019-02-04 10:34:08 -08:00
__init__.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
Cargo.toml extlib: add cargo workspace 2019-03-20 19:56:14 -07:00
cfastmanifest.c codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
linelog.pyx codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
litemmap.pyx codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
mysqlutil.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
README.md codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
traceprofimpl.cpp codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00

extlib

Code that extensions depend on, but aren't themselves extensions, should go here. Both native (C/C++/Cython/Rust) and Python code is allowed. Code that depends on Python is also allowed.

In theory, this code should slowly disappear as extension code gets folded into mainline Mercurial. (The native bits should go into lib/ or mercurial/cext), the Python code into mercurial/ itself.)

See also lib/README.md, mercurial/cext/README.md.