2019-12-10 02:24:31 +03:00
|
|
|
#chg-compatible
|
|
|
|
|
2018-04-30 12:46:59 +03:00
|
|
|
$ . "$TESTDIR/library.sh"
|
|
|
|
$ . "$TESTDIR/infinitepush/library.sh"
|
|
|
|
$ setupcommon
|
2019-05-20 16:11:59 +03:00
|
|
|
$ setconfig infinitepush.bundlecompression=GZ
|
2018-04-30 12:46:59 +03:00
|
|
|
|
|
|
|
Setup server
|
|
|
|
$ hg init repo
|
|
|
|
$ cd repo
|
|
|
|
$ setupserver
|
|
|
|
$ cd ..
|
|
|
|
|
|
|
|
Backup a commit
|
|
|
|
$ hg clone ssh://user@dummy/repo client -q
|
|
|
|
$ cd client
|
|
|
|
$ mkcommit commit
|
2019-05-20 16:11:59 +03:00
|
|
|
$ hg cloud backup
|
2018-06-05 14:24:26 +03:00
|
|
|
backing up stack rooted at 7e6a6fd9c7c8
|
2020-02-28 04:51:13 +03:00
|
|
|
commitcloud: backed up 1 commit
|
2018-04-30 12:46:59 +03:00
|
|
|
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
|
2020-06-10 19:26:55 +03:00
|
|
|
b2x:treegroup2 -- {cache: False, category: manifests, version: 1}
|
|
|
|
1 data items, 1 history items
|
|
|
|
18ef3a36d0cecdc332a8f5ee468ffe6e330279fe
|