sapling/eden/scm/tests/test-fb-hgext-remotefilelog-archive.t
Durham Goode 3a5728b32f py3: fix archive
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
2020-02-17 14:52:33 -08:00

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 (?)