sapling/tests/hgsql
Harvey Hunt 9f82b1f8e8 hg: Add ability to check repo lock status from hgsql
Summary:
As part of the mononoke write path rollout we want to be
able to dynamically block writes to a repo. This is implemented as
a table in hgsql (repo_lock) that both hg and mononoke can read, but
will only be updated by scmadmin.

Expose a function that can be used by in-process hooks to check if a repo is
locked for mercurial.

Reviewed By: quark-zju

Differential Revision: D14279169

fbshipit-source-id: f8bb4afeeeda67796cf806ab7f3fe42f4089818f
2019-03-18 09:42:37 -07:00
..
getdb.sh.example Add support for RocksDB 2018-04-13 21:51:13 -07:00
library.sh hg: Add ability to check repo lock status from hgsql 2019-03-18 09:42:37 -07:00
schema.innodb.sql hg: Add ability to check repo lock status from hgsql 2019-03-18 09:42:37 -07:00
schema.rocksdb.sql hg: Add ability to check repo lock status from hgsql 2019-03-18 09:42:37 -07:00
waithook.py localrepo: split vfs into localvfs and sharedvfs 2018-09-28 07:23:00 -07:00