2017-08-31 21:14:39 +03:00
|
|
|
$ CACHEDIR=`pwd`/hgcache
|
|
|
|
|
|
|
|
$ . "$TESTDIR/library.sh"
|
|
|
|
|
|
|
|
$ hg init client1
|
|
|
|
$ cd client1
|
|
|
|
$ cat >> .hg/hgrc <<EOF
|
|
|
|
> [extensions]
|
2018-01-09 23:59:00 +03:00
|
|
|
> fastmanifest=
|
|
|
|
> treemanifest=
|
2017-08-31 21:14:39 +03:00
|
|
|
>
|
|
|
|
> [remotefilelog]
|
|
|
|
> reponame=master
|
|
|
|
> cachepath=$CACHEDIR
|
|
|
|
> usefastdatapack=True
|
|
|
|
>
|
|
|
|
> [fastmanifest]
|
|
|
|
> usetree=True
|
|
|
|
> usecache=False
|
|
|
|
> EOF
|
|
|
|
|
|
|
|
$ echo a > a
|
|
|
|
$ mkdir dir
|
|
|
|
$ echo b > dir/b
|
|
|
|
$ hg commit -Aqm 'initial commit'
|
|
|
|
|
|
|
|
$ hg init ../client2
|
|
|
|
$ cd ../client2
|
|
|
|
$ hg pull ../client1
|
|
|
|
pulling from ../client1
|
|
|
|
requesting all changes
|
|
|
|
adding changesets
|
|
|
|
adding manifests
|
|
|
|
adding file changes
|
|
|
|
added 1 changesets with 2 changes to 2 files
|
2017-10-17 23:05:18 +03:00
|
|
|
new changesets a8dee6dcff44
|
2017-08-31 21:14:39 +03:00
|
|
|
(run 'hg update' to get a working copy)
|