Mercurial > hg
diff tests/test-sparse-with-safe-share.t @ 48494:b74ee41addee stable
sparse: lock the store when updating requirements config
Differential Revision: https://phab.mercurial-scm.org/D11817
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Mon, 29 Nov 2021 12:27:33 +0000 |
parents | 50330d481640 |
children |
line wrap: on
line diff
--- a/tests/test-sparse-with-safe-share.t Tue Nov 16 17:35:57 2021 +0000 +++ b/tests/test-sparse-with-safe-share.t Mon Nov 29 12:27:33 2021 +0000 @@ -16,10 +16,8 @@ $ echo x > hide $ hg ci -Aqm 'initial' -Verify basic --include +Regression test: checks that this command correctly locks the store +before updating the store [requirements] config. $ hg up -q 0 $ hg debugsparse --include 'hide' - devel-warn: write with no lock: "requires" at: *mercurial/scmutil.py:1558 (writerequires) (glob) - -TODO: bug in sparse when used together with safe-share^