sapling/eden/scm/tests/test-fb-hgext-remotefilelog-ruststores-lfs-duplicated.t
Meyer Jacobs 43a75431bb scmstore: update additional test
Summary: Only four tests remaining after this.

Reviewed By: kulshrax

Differential Revision: D29229656

fbshipit-source-id: 56c0a17f6585263e983ce8bc3c345b1f266422e0
2021-06-21 20:32:50 -07:00

23 lines
664 B
Perl

#chg-compatible
$ newserver master
$ setconfig extensions.lfs= lfs.url=file:$TESTTMP/lfs-server remotefilelog.lfs=True
$ clone master shallow --noupdate
$ switchrepo shallow
$ setconfig extensions.lfs= lfs.url=file:$TESTTMP/lfs-server lfs.threshold=10B remotefilelog.lfs=True
$ echo "THIS IS AN LFS BLOB" > x
$ hg commit -qAm x
# Make sure that bundle isn't confused by this.
$ hg bundle -q -r . $TESTTMP/test-bundle
$ clone master shallow2 --noupdate
$ switchrepo shallow2
$ setconfig remotefilelog.lfs=True lfs.url=file:$TESTTMP/lfs-server lfs.threshold=10GB
$ hg unbundle -q -u $TESTTMP/test-bundle
$ cat x
THIS IS AN LFS BLOB