mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
43a75431bb
Summary: Only four tests remaining after this. Reviewed By: kulshrax Differential Revision: D29229656 fbshipit-source-id: 56c0a17f6585263e983ce8bc3c345b1f266422e0
23 lines
664 B
Perl
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
|