mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
e9e0539cc1
Summary: We want to remove filepeer as part of removing server logic in the client. To start with, let's disable it by default and only enable it in tests that need it. The next step will be to update those tests. Reviewed By: quark-zju Differential Revision: D30977765 fbshipit-source-id: c56016f017e894a15bf43fb7a8d3a0a417663ad9
36 lines
656 B
Perl
36 lines
656 B
Perl
#chg-compatible
|
|
$ setconfig experimental.allowfilepeer=True
|
|
|
|
$ disable treemanifest
|
|
|
|
$ . "$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
|
|
$ echo z >> x
|
|
$ hg commit -qAm z
|
|
$ echo a > a
|
|
$ hg commit -qAm a
|
|
|
|
$ cd ..
|
|
|
|
$ hgcloneshallow ssh://user@dummy/master shallow -q
|
|
2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob) (?)
|
|
$ cd shallow
|
|
|
|
Test blame
|
|
|
|
$ hg blame x
|
|
0: x
|
|
1: y
|
|
2: z
|
|
2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over 0.00s (?)
|