sapling/eden/scm/tests/test-fb-hgext-remotefilelog-ruststores-lfs-bundle.t
Xavier Deguillard eb939cff57 remotefilelog: force hg bundle to use bundle version 3 with LFS
Summary:
When LFS is enabled, only bundle3 is supported, so we have to hack the exchange
code a bit in this case to always chose bundle3.

This is copied verbatim from the lfs extension.

Reviewed By: DurhamG

Differential Revision: D21459734

fbshipit-source-id: 41c867cec09e2485ec1e9d91545b61da568f4766
2020-05-07 21:50:00 -07:00

20 lines
419 B
Perl

#chg-compatible
$ . "$TESTDIR/library.sh"
$ newserver master
$ cd $TESTTMP
$ clone master shallow --noupdate
$ cd shallow
$ setconfig remotefilelog.useruststore=True worker.rustworkers=True remotefilelog.lfs=True
$ setconfig lfs.url=file:$TESTTMP/lfs-server
$ echo "X" > x
$ hg commit -qAm x
$ echo "Y" > y
$ hg commit -qAm y
$ hg bundle -r tip --base tip~1 out.bundle
1 changesets found