tests/test-stream-bundle-v2.t
changeset 46874 84a93fa7ecfd
parent 46314 95a615dd77bf
child 46884 cc3ad5c3af3b
equal deleted inserted replaced
46873:0abf5eba0042 46874:84a93fa7ecfd
    44   > EOF
    44   > EOF
    45 
    45 
    46   $ hg bundle -a --type="none-v2;stream=v2" bundle.hg
    46   $ hg bundle -a --type="none-v2;stream=v2" bundle.hg
    47   $ hg debugbundle bundle.hg
    47   $ hg debugbundle bundle.hg
    48   Stream params: {}
    48   Stream params: {}
    49   stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True)
    49   stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (no-zstd !)
       
    50   stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True) (zstd !)
    50   $ hg debugbundle --spec bundle.hg
    51   $ hg debugbundle --spec bundle.hg
    51   none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore
    52   none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore (no-zstd !)
       
    53   none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog%2Cstore (zstd !)
    52 
    54 
    53 Test that we can apply the bundle as a stream clone bundle
    55 Test that we can apply the bundle as a stream clone bundle
    54 
    56 
    55   $ cat > .hg/clonebundles.manifest << EOF
    57   $ cat > .hg/clonebundles.manifest << EOF
    56   > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=`hg debugbundle --spec bundle.hg`
    58   > http://localhost:$HGPORT1/bundle.hg BUNDLESPEC=`hg debugbundle --spec bundle.hg`