mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
eb939cff57
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
20 lines
419 B
Perl
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
|