mirror of
https://github.com/facebook/sapling.git
synced 2024-12-26 22:47:26 +03:00
2a47ead18d
Summary: Just remove the b. Reviewed By: DurhamG Differential Revision: D20286947 fbshipit-source-id: dabdf39fc7f8efa271059e9f179d7417a03f820a
30 lines
784 B
Raku
30 lines
784 B
Raku
#chg-compatible
|
|
|
|
$ . "$TESTDIR/library.sh"
|
|
$ . "$TESTDIR/infinitepush/library.sh"
|
|
$ setupcommon
|
|
$ setconfig infinitepush.bundlecompression=GZ
|
|
|
|
Setup server
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ setupserver
|
|
$ cd ..
|
|
|
|
Backup a commit
|
|
$ hg clone ssh://user@dummy/repo client -q
|
|
$ cd client
|
|
$ mkcommit commit
|
|
$ hg cloud backup
|
|
backing up stack rooted at 7e6a6fd9c7c8
|
|
commitcloud: backed up 1 commit
|
|
remote: pushing 1 commit:
|
|
remote: 7e6a6fd9c7c8 commit
|
|
|
|
Check the commit is compressed
|
|
$ f=`cat ../repo/.hg/scratchbranches/index/nodemap/7e6a6fd9c7c8c8c307ee14678f03d63af3a7b455`
|
|
$ hg debugbundle ../repo/.hg/scratchbranches/filebundlestore/*/*/$f
|
|
Stream params: {Compression: GZ}
|
|
changegroup -- {version: 02}
|
|
7e6a6fd9c7c8c8c307ee14678f03d63af3a7b455
|