Mercurial > hg
comparison tests/test-pull-bundle.t @ 38678:7e4a856a4f05
pullbundle: fix handling of gzip bundlespecs
Differential Revision: https://phab.mercurial-scm.org/D3933
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 12 Jul 2018 15:29:03 +0200 |
parents | 538e850ae737 |
children | 89630d0b3e23 |
comparison
equal
deleted
inserted
replaced
38677:2a227782e754 | 38678:7e4a856a4f05 |
---|---|
44 $ hg bundle --base 0 -r 1 .hg/1.hg | 44 $ hg bundle --base 0 -r 1 .hg/1.hg |
45 1 changesets found | 45 1 changesets found |
46 $ hg bundle --base 1 -r 2 .hg/2.hg | 46 $ hg bundle --base 1 -r 2 .hg/2.hg |
47 1 changesets found | 47 1 changesets found |
48 $ cat <<EOF > .hg/pullbundles.manifest | 48 $ cat <<EOF > .hg/pullbundles.manifest |
49 > 2.hg heads=effea6de0384e684f44435651cb7bd70b8735bd4 bases=bbd179dfa0a71671c253b3ae0aa1513b60d199fa | 49 > 2.hg BUNDLESPEC=none-v2 heads=effea6de0384e684f44435651cb7bd70b8735bd4 bases=bbd179dfa0a71671c253b3ae0aa1513b60d199fa |
50 > 1.hg heads=ed1b79f46b9a29f5a6efa59cf12fcfca43bead5a bases=bbd179dfa0a71671c253b3ae0aa1513b60d199fa | 50 > 1.hg BUNDLESPEC=bzip2-v2 heads=ed1b79f46b9a29f5a6efa59cf12fcfca43bead5a bases=bbd179dfa0a71671c253b3ae0aa1513b60d199fa |
51 > 0.hg heads=bbd179dfa0a71671c253b3ae0aa1513b60d199fa | 51 > 0.hg BUNDLESPEC=gzip-v2 heads=bbd179dfa0a71671c253b3ae0aa1513b60d199fa |
52 > EOF | 52 > EOF |
53 $ hg --config blackbox.track=debug --debug serve -p $HGPORT2 -d --pid-file=../repo.pid | 53 $ hg --config blackbox.track=debug --debug serve -p $HGPORT2 -d --pid-file=../repo.pid |
54 listening at http://*:$HGPORT2/ (bound to $LOCALIP:$HGPORT2) (glob) (?) | 54 listening at http://*:$HGPORT2/ (bound to $LOCALIP:$HGPORT2) (glob) (?) |
55 $ cat ../repo.pid >> $DAEMON_PIDS | 55 $ cat ../repo.pid >> $DAEMON_PIDS |
56 $ cd .. | 56 $ cd .. |