mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
3a5728b32f
Summary: archive uses a formatter to produce it's metadat file. We need to use a string io stream instead of bytes. Reviewed By: quark-zju Differential Revision: D19748163 fbshipit-source-id: fbd8c32066cfc4a234d9b51691717c7fce4c7c9a
33 lines
652 B
Perl
33 lines
652 B
Perl
#chg-compatible
|
|
|
|
$ 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
|
|
$ 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
|
|
3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over 0.00s (?)
|
|
$ cd shallow
|
|
|
|
Test blame
|
|
|
|
$ clearcache
|
|
$ hg archive -r tip -t tar myarchive.tar
|
|
3 files fetched over 1 fetches - (3 misses, 0.00% hit ratio) over 0.00s (?)
|