tests/test-stream-bundle-v2.t
changeset 51181 dcaa2df1f688
parent 50707 36478b2ab8b3
child 51573 4a9d0898bf16
equal deleted inserted replaced
51180:2e0b2a387502 51181:dcaa2df1f688
    58   > EOF
    58   > EOF
    59 
    59 
    60   $ hg bundle -a --type="none-v2;stream=$stream_version" bundle.hg
    60   $ hg bundle -a --type="none-v2;stream=$stream_version" bundle.hg
    61   $ hg debugbundle bundle.hg
    61   $ hg debugbundle bundle.hg
    62   Stream params: {}
    62   Stream params: {}
    63   stream2 -- {bytecount: 1693, filecount: 11, requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 no-zstd !)
    63   stream2 -- {bytecount: 1693, filecount: 12, requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 no-zstd !)
    64   stream2 -- {bytecount: 1693, filecount: 11, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 zstd no-rust !)
    64   stream2 -- {bytecount: 1693, filecount: 12, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 zstd no-rust !)
    65   stream2 -- {bytecount: 1693, filecount: 11, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 rust !)
    65   stream2 -- {bytecount: 1819, filecount: 14, requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v2 rust !)
    66   stream3-exp -- {requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 no-zstd !)
    66   stream3-exp -- {requirements: generaldelta%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 no-zstd !)
    67   stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 zstd no-rust !)
    67   stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 zstd no-rust !)
    68   stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 rust !)
    68   stream3-exp -- {requirements: generaldelta%2Crevlog-compression-zstd%2Crevlogv1%2Csparserevlog} (mandatory: True) (stream-v3 rust !)
    69   $ hg debugbundle --spec bundle.hg
    69   $ hg debugbundle --spec bundle.hg
    70   none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v2 no-zstd !)
    70   none-v2;stream=v2;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog (stream-v2 no-zstd !)
    95   sending clonebundles_manifest command
    95   sending clonebundles_manifest command
    96   applying clone bundle from http://localhost:$HGPORT1/bundle.hg
    96   applying clone bundle from http://localhost:$HGPORT1/bundle.hg
    97   bundle2-input-bundle: with-transaction
    97   bundle2-input-bundle: with-transaction
    98   bundle2-input-part: "stream2" (params: 3 mandatory) supported
    98   bundle2-input-part: "stream2" (params: 3 mandatory) supported
    99   applying stream bundle
    99   applying stream bundle
   100   11 files to transfer, 1.65 KB of data
   100   12 files to transfer, 1.65 KB of data (no-rust !)
       
   101   14 files to transfer, 1.78 KB of data (rust !)
   101   starting 4 threads for background file closing (?)
   102   starting 4 threads for background file closing (?)
   102   starting 4 threads for background file closing (?)
   103   starting 4 threads for background file closing (?)
   103   adding [s] data/A.i (66 bytes)
   104   adding [s] data/A.i (66 bytes)
   104   adding [s] data/B.i (66 bytes)
   105   adding [s] data/B.i (66 bytes)
   105   adding [s] data/C.i (66 bytes)
   106   adding [s] data/C.i (66 bytes)
   106   adding [s] data/D.i (66 bytes)
   107   adding [s] data/D.i (66 bytes)
   107   adding [s] data/E.i (66 bytes)
   108   adding [s] data/E.i (66 bytes)
   108   adding [s] phaseroots (43 bytes)
   109   adding [s] phaseroots (43 bytes)
   109   adding [s] 00manifest.i (584 bytes)
   110   adding [s] 00manifest.i (584 bytes)
   110   adding [s] 00changelog.i (595 bytes)
   111   adding [s] 00changelog.n (62 bytes) (rust !)
       
   112   adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
       
   113   adding [s] 00changelog.d (275 bytes)
       
   114   adding [s] 00changelog.i (320 bytes)
   111   adding [c] branch2-served (94 bytes)
   115   adding [c] branch2-served (94 bytes)
   112   adding [c] rbc-names-v1 (7 bytes)
   116   adding [c] rbc-names-v1 (7 bytes)
   113   adding [c] rbc-revs-v1 (40 bytes)
   117   adding [c] rbc-revs-v1 (40 bytes)
   114   transferred 1.65 KB in * seconds (* */sec) (glob)
   118   transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
   115   bundle2-input-part: total payload size 1840
   119   bundle2-input-part: total payload size 1857 (no-rust !)
       
   120   transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
       
   121   bundle2-input-part: total payload size 2025 (rust !)
   116   bundle2-input-bundle: 1 parts total
   122   bundle2-input-bundle: 1 parts total
   117   updating the branch cache
   123   updating the branch cache
   118   finished applying clone bundle
   124   finished applying clone bundle
   119   query 1; heads
   125   query 1; heads
   120   sending batch command
   126   sending batch command
   152   sending clonebundles_manifest command
   158   sending clonebundles_manifest command
   153   applying clone bundle from http://localhost:$HGPORT1/bundle.hg
   159   applying clone bundle from http://localhost:$HGPORT1/bundle.hg
   154   bundle2-input-bundle: with-transaction
   160   bundle2-input-bundle: with-transaction
   155   bundle2-input-part: "stream2" (params: 3 mandatory) supported
   161   bundle2-input-part: "stream2" (params: 3 mandatory) supported
   156   applying stream bundle
   162   applying stream bundle
   157   11 files to transfer, 1.65 KB of data
   163   12 files to transfer, 1.65 KB of data (no-rust !)
       
   164   14 files to transfer, 1.78 KB of data (rust !)
   158   starting 4 threads for background file closing (?)
   165   starting 4 threads for background file closing (?)
   159   starting 4 threads for background file closing (?)
   166   starting 4 threads for background file closing (?)
   160   adding [s] data/A.i (66 bytes)
   167   adding [s] data/A.i (66 bytes)
   161   adding [s] data/B.i (66 bytes)
   168   adding [s] data/B.i (66 bytes)
   162   adding [s] data/C.i (66 bytes)
   169   adding [s] data/C.i (66 bytes)
   163   adding [s] data/D.i (66 bytes)
   170   adding [s] data/D.i (66 bytes)
   164   adding [s] data/E.i (66 bytes)
   171   adding [s] data/E.i (66 bytes)
   165   adding [s] phaseroots (43 bytes)
   172   adding [s] phaseroots (43 bytes)
   166   adding [s] 00manifest.i (584 bytes)
   173   adding [s] 00manifest.i (584 bytes)
   167   adding [s] 00changelog.i (595 bytes)
   174   adding [s] 00changelog.n (62 bytes) (rust !)
       
   175   adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
       
   176   adding [s] 00changelog.d (275 bytes)
       
   177   adding [s] 00changelog.i (320 bytes)
   168   adding [c] branch2-served (94 bytes)
   178   adding [c] branch2-served (94 bytes)
   169   adding [c] rbc-names-v1 (7 bytes)
   179   adding [c] rbc-names-v1 (7 bytes)
   170   adding [c] rbc-revs-v1 (40 bytes)
   180   adding [c] rbc-revs-v1 (40 bytes)
   171   transferred 1.65 KB in * seconds (* */sec) (glob)
   181   transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
   172   bundle2-input-part: total payload size 1840
   182   bundle2-input-part: total payload size 1857 (no-rust !)
       
   183   transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
       
   184   bundle2-input-part: total payload size 2025 (rust !)
   173   bundle2-input-bundle: 1 parts total
   185   bundle2-input-bundle: 1 parts total
   174   updating the branch cache
   186   updating the branch cache
   175   finished applying clone bundle
   187   finished applying clone bundle
   176   query 1; heads
   188   query 1; heads
   177   sending batch command
   189   sending batch command
   222   adding [s] data/C.i (66 bytes)
   234   adding [s] data/C.i (66 bytes)
   223   adding [s] data/D.i (66 bytes)
   235   adding [s] data/D.i (66 bytes)
   224   adding [s] data/E.i (66 bytes)
   236   adding [s] data/E.i (66 bytes)
   225   adding [s] phaseroots (43 bytes)
   237   adding [s] phaseroots (43 bytes)
   226   adding [s] 00manifest.i (584 bytes)
   238   adding [s] 00manifest.i (584 bytes)
   227   adding [s] 00changelog.i (595 bytes)
   239   adding [s] 00changelog.n (62 bytes) (rust !)
       
   240   adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
       
   241   adding [s] 00changelog.d (275 bytes)
       
   242   adding [s] 00changelog.i (320 bytes)
   228   adding [c] branch2-served (94 bytes)
   243   adding [c] branch2-served (94 bytes)
   229   adding [c] rbc-names-v1 (7 bytes)
   244   adding [c] rbc-names-v1 (7 bytes)
   230   adding [c] rbc-revs-v1 (40 bytes)
   245   adding [c] rbc-revs-v1 (40 bytes)
   231   transferred 1.65 KB in * seconds (* */sec) (glob)
   246   transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
   232   bundle2-input-part: total payload size 1852
   247   bundle2-input-part: total payload size 1869 (no-rust !)
       
   248   transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
       
   249   bundle2-input-part: total payload size 2037 (rust !)
   233   bundle2-input-bundle: 1 parts total
   250   bundle2-input-bundle: 1 parts total
   234   updating the branch cache
   251   updating the branch cache
   235   finished applying clone bundle
   252   finished applying clone bundle
   236   query 1; heads
   253   query 1; heads
   237   sending batch command
   254   sending batch command
   279   adding [s] data/C.i (66 bytes)
   296   adding [s] data/C.i (66 bytes)
   280   adding [s] data/D.i (66 bytes)
   297   adding [s] data/D.i (66 bytes)
   281   adding [s] data/E.i (66 bytes)
   298   adding [s] data/E.i (66 bytes)
   282   adding [s] phaseroots (43 bytes)
   299   adding [s] phaseroots (43 bytes)
   283   adding [s] 00manifest.i (584 bytes)
   300   adding [s] 00manifest.i (584 bytes)
   284   adding [s] 00changelog.i (595 bytes)
   301   adding [s] 00changelog.n (62 bytes) (rust !)
       
   302   adding [s] 00changelog-b875dfc5.nd (64 bytes) (rust !)
       
   303   adding [s] 00changelog.d (275 bytes)
       
   304   adding [s] 00changelog.i (320 bytes)
   285   adding [c] branch2-served (94 bytes)
   305   adding [c] branch2-served (94 bytes)
   286   adding [c] rbc-names-v1 (7 bytes)
   306   adding [c] rbc-names-v1 (7 bytes)
   287   adding [c] rbc-revs-v1 (40 bytes)
   307   adding [c] rbc-revs-v1 (40 bytes)
   288   transferred 1.65 KB in * seconds (* */sec) (glob)
   308   transferred 1.65 KB in * seconds (* */sec) (glob) (no-rust !)
   289   bundle2-input-part: total payload size 1852
   309   bundle2-input-part: total payload size 1869 (no-rust !)
       
   310   transferred 1.78 KB in * seconds (* */sec) (glob) (rust !)
       
   311   bundle2-input-part: total payload size 2037 (rust !)
   290   bundle2-input-bundle: 1 parts total
   312   bundle2-input-bundle: 1 parts total
   291   updating the branch cache
   313   updating the branch cache
   292   finished applying clone bundle
   314   finished applying clone bundle
   293   query 1; heads
   315   query 1; heads
   294   sending batch command
   316   sending batch command