Debian Codegraph @

tests/test-sparse-with-safe-share.t

raw
1 Same with share-safe
2
3 $ echo "[format]" >> $HGRCPATH
4 $ echo "use-share-safe = True" >> $HGRCPATH
5
6 $ cd $TESTTMP
7
8 $ hg init myrepo
9 $ cd myrepo
10 $ cat > .hg/hgrc <<EOF
11 > [extensions]
12 > sparse=
13 > EOF
14
15 $ echo a > show
16 $ echo x > hide
17 $ hg ci -Aqm 'initial'
18
19 Regression test: checks that this command correctly locks the store
20 before updating the store [requirements] config.
21
22 $ hg up -q 0
23 $ hg debugsparse --include 'hide'