##// END OF EJS Templates
sparse: lock the store when updating requirements config...
sparse: lock the store when updating requirements config Differential Revision: https://phab.mercurial-scm.org/D11817

File last commit:

r49326:b74ee41a stable
r49326:b74ee41a stable
Show More
test-sparse-with-safe-share.t
23 lines | 454 B | text/troff | Tads3Lexer
/ tests / test-sparse-with-safe-share.t
Same with share-safe
$ echo "[format]" >> $HGRCPATH
$ echo "use-share-safe = True" >> $HGRCPATH
$ cd $TESTTMP
$ hg init myrepo
$ cd myrepo
$ cat > .hg/hgrc <<EOF
> [extensions]
> sparse=
> EOF
$ echo a > show
$ echo x > hide
$ hg ci -Aqm 'initial'
Regression test: checks that this command correctly locks the store
before updating the store [requirements] config.
$ hg up -q 0
$ hg debugsparse --include 'hide'