2019-12-10 02:24:31 +03:00
|
|
|
#chg-compatible
|
|
|
|
|
2020-01-20 13:42:49 +03:00
|
|
|
$ disable treemanifest
|
2019-03-15 00:54:51 +03:00
|
|
|
$ . "$TESTDIR/library.sh"
|
|
|
|
|
|
|
|
$ hginit master
|
|
|
|
$ cd master
|
|
|
|
$ cat >> .hg/hgrc <<EOF
|
|
|
|
> [remotefilelog]
|
|
|
|
> server=True
|
|
|
|
> EOF
|
|
|
|
$ echo x > x
|
|
|
|
$ hg commit -qAm x
|
|
|
|
$ echo y >> x
|
|
|
|
$ hg commit -qAm y
|
|
|
|
$ mkdir dir
|
|
|
|
$ echo z >> dir/z
|
|
|
|
$ hg commit -qAm z
|
|
|
|
$ echo z >> dir/z2
|
|
|
|
$ hg commit -qAm z2
|
|
|
|
|
|
|
|
$ cd ..
|
|
|
|
|
|
|
|
$ hgcloneshallow ssh://user@dummy/master shallow -q
|
2020-01-09 18:44:55 +03:00
|
|
|
3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over 0.00s (?)
|
2019-03-15 00:54:51 +03:00
|
|
|
$ cd shallow
|
|
|
|
|
|
|
|
Test blame
|
|
|
|
|
|
|
|
$ clearcache
|
|
|
|
$ hg archive -r tip -t tar myarchive.tar
|
2020-01-09 18:44:55 +03:00
|
|
|
3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over 0.00s (?)
|