tests/test-remotefilelog-prefetch.t
changeset 46874 84a93fa7ecfd
parent 46847 47a9527731c3
child 47127 5ffc6c18fb96
equal deleted inserted replaced
46873:0abf5eba0042 46874:84a93fa7ecfd
    20 
    20 
    21 # prefetch a revision
    21 # prefetch a revision
    22 
    22 
    23   $ hgcloneshallow ssh://user@dummy/master shallow --noupdate
    23   $ hgcloneshallow ssh://user@dummy/master shallow --noupdate
    24   streaming all changes
    24   streaming all changes
    25   2 files to transfer, 528 bytes of data
    25   2 files to transfer, 528 bytes of data (no-zstd !)
    26   transferred 528 bytes in * seconds (*/sec) (glob)
    26   transferred 528 bytes in * seconds (* */sec) (glob) (no-zstd !)
       
    27   2 files to transfer, 532 bytes of data (zstd !)
       
    28   transferred 532 bytes in * seconds (* */sec) (glob) (zstd !)
    27   searching for changes
    29   searching for changes
    28   no changes found
    30   no changes found
    29   $ cd shallow
    31   $ cd shallow
    30 
    32 
    31   $ hg prefetch -r 0
    33   $ hg prefetch -r 0
   162 
   164 
   163 # Prefetch unknown files during checkout
   165 # Prefetch unknown files during checkout
   164 
   166 
   165   $ hgcloneshallow ssh://user@dummy/master shallow2
   167   $ hgcloneshallow ssh://user@dummy/master shallow2
   166   streaming all changes
   168   streaming all changes
   167   2 files to transfer, 528 bytes of data
   169   2 files to transfer, 528 bytes of data (no-zstd !)
   168   transferred 528 bytes in * seconds * (glob)
   170   transferred 528 bytes in * seconds * (glob) (no-zstd !)
       
   171   2 files to transfer, 532 bytes of data (zstd !)
       
   172   transferred 532 bytes in * seconds (* */sec) (glob) (zstd !)
   169   searching for changes
   173   searching for changes
   170   no changes found
   174   no changes found
   171   updating to branch default
   175   updating to branch default
   172   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   176   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   173   1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob)
   177   1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob)