tests/test-remotefilelog-bgprefetch.t
changeset 40505 b6b2a3d22344
parent 40495 3a333a582d7b
child 40506 10c10da14c5d
equal deleted inserted replaced
40504:64b16de2c66a 40505:b6b2a3d22344
   151   $TESTTMP/hgcache/repos
   151   $TESTTMP/hgcache/repos
   152 
   152 
   153 # Ensure that file 'w' was prefetched - it was not part of the update operation and therefore
   153 # Ensure that file 'w' was prefetched - it was not part of the update operation and therefore
   154 # could only be downloaded by the background prefetch
   154 # could only be downloaded by the background prefetch
   155 
   155 
   156   $ hg debugdatapack $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   156   $ hg debugdatapack `ls -ct $TESTTMP/hgcache/master/packs/*.datapack | head -n 1`
   157   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   157   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   158   w:
   158   w:
   159   Node          Delta Base    Delta Length  Blob Size
   159   Node          Delta Base    Delta Length  Blob Size
   160   bb6ccd5dceaa  000000000000  2             2
   160   bb6ccd5dceaa  000000000000  2             2
   161   
   161   
   203   $TESTTMP/hgcache/repos
   203   $TESTTMP/hgcache/repos
   204 
   204 
   205 # Ensure that file 'w' was prefetched - it was not part of the commit operation and therefore
   205 # Ensure that file 'w' was prefetched - it was not part of the commit operation and therefore
   206 # could only be downloaded by the background prefetch
   206 # could only be downloaded by the background prefetch
   207 
   207 
   208   $ hg debugdatapack $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   208   $ hg debugdatapack `ls -ct $TESTTMP/hgcache/master/packs/*.datapack | head -n 1`
   209   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   209   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   210   w:
   210   w:
   211   Node          Delta Base    Delta Length  Blob Size
   211   Node          Delta Base    Delta Length  Blob Size
   212   bb6ccd5dceaa  000000000000  2             2
   212   bb6ccd5dceaa  000000000000  2             2
   213   
   213   
   246   $ hg debugwaitonrepack >/dev/null 2>%1
   246   $ hg debugwaitonrepack >/dev/null 2>%1
   247 
   247 
   248 # Ensure that file 'y' was prefetched - it was not part of the rebase operation and therefore
   248 # Ensure that file 'y' was prefetched - it was not part of the rebase operation and therefore
   249 # could only be downloaded by the background prefetch
   249 # could only be downloaded by the background prefetch
   250 
   250 
   251   $ hg debugdatapack $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   251   $ hg debugdatapack `ls -ct $TESTTMP/hgcache/master/packs/*.datapack | head -n 1`
   252   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   252   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   253   w:
   253   w:
   254   Node          Delta Base    Delta Length  Blob Size
   254   Node          Delta Base    Delta Length  Blob Size
   255   bb6ccd5dceaa  000000000000  2             2
   255   bb6ccd5dceaa  000000000000  2             2
   256   
   256   
   293   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   293   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   294   $TESTTMP/hgcache/master/packs/repacklock
   294   $TESTTMP/hgcache/master/packs/repacklock
   295   $TESTTMP/hgcache/repos
   295   $TESTTMP/hgcache/repos
   296 
   296 
   297 # Ensure that files were prefetched
   297 # Ensure that files were prefetched
   298   $ hg debugdatapack $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   298   $ hg debugdatapack `ls -ct $TESTTMP/hgcache/master/packs/*.datapack | head -n 1`
   299   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   299   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   300   w:
   300   w:
   301   Node          Delta Base    Delta Length  Blob Size
   301   Node          Delta Base    Delta Length  Blob Size
   302   bb6ccd5dceaa  000000000000  2             2
   302   bb6ccd5dceaa  000000000000  2             2
   303   
   303   
   337   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   337   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   338   $TESTTMP/hgcache/master/packs/repacklock
   338   $TESTTMP/hgcache/master/packs/repacklock
   339   $TESTTMP/hgcache/repos
   339   $TESTTMP/hgcache/repos
   340 
   340 
   341 # Ensure that files were prefetched
   341 # Ensure that files were prefetched
   342   $ hg debugdatapack $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0.datapack
   342   $ hg debugdatapack `ls -ct $TESTTMP/hgcache/master/packs/*.datapack | head -n 1`
   343   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   343   $TESTTMP/hgcache/master/packs/8299d5a1030f073f4adbb3b6bd2ad3bdcc276df0:
   344   w:
   344   w:
   345   Node          Delta Base    Delta Length  Blob Size
   345   Node          Delta Base    Delta Length  Blob Size
   346   bb6ccd5dceaa  000000000000  2             2
   346   bb6ccd5dceaa  000000000000  2             2
   347   
   347