Debian Codegraph @

tests/test-remotefilelog-share.t

raw
1 #require no-windows
2
3 #testcases safe normal
4
5 #if safe
6 $ echo "[format]" >> $HGRCPATH
7 $ echo "exp-share-safe = True" >> $HGRCPATH
8 #endif
9
10 $ . "$TESTDIR/remotefilelog-library.sh"
11
12 $ cat >> $HGRCPATH <<EOF
13 > [extensions]
14 > remotefilelog=
15 > share=
16 > EOF
17
18 $ hg init master
19 $ cd master
20 $ cat >> .hg/hgrc <<EOF
21 > [remotefilelog]
22 > server=True
23 > EOF
24 $ echo x > x
25 $ hg commit -qAm x
26
27 $ cd ..
28
29
30 $ hgcloneshallow ssh://user@dummy/master source --noupdate -q
31 $ hg share source dest
32 updating working directory
33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
34 $ hg -R dest unshare