tests/test-remotefilelog-gcrepack.t
branchstable
changeset 43853 4f40dc190f63
parent 43851 fac25de8cbec
child 50725 7e5be4a7cda7
equal deleted inserted replaced
43852:b6c7475595db 43853:4f40dc190f63
    38   > EOF
    38   > EOF
    39 
    39 
    40   $ hg prefetch
    40   $ hg prefetch
    41   2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
    41   2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
    42   $ hg repack
    42   $ hg repack
    43   $ hg debugwaitonrepack >/dev/null 2>%1
       
    44 
    43 
    45   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
    44   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
    46   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
    45   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
    47   $TESTTMP/hgcache/master/packs/dc8f8fdc76690ce27791ce9f53a18da379e50d37.datapack
    46   $TESTTMP/hgcache/master/packs/dc8f8fdc76690ce27791ce9f53a18da379e50d37.datapack
    48 
    47 
    70   > gcrepack=True
    69   > gcrepack=True
    71   > nodettl=86400
    70   > nodettl=86400
    72   > EOF
    71   > EOF
    73 
    72 
    74   $ hg repack
    73   $ hg repack
    75   $ hg debugwaitonrepack >/dev/null 2>%1
       
    76 
    74 
    77   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
    75   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
    78   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
    76   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
    79   $TESTTMP/hgcache/master/packs/a4e1d094ec2aee8a08a4d6d95a13c634cc7d7394.datapack
    77   $TESTTMP/hgcache/master/packs/a4e1d094ec2aee8a08a4d6d95a13c634cc7d7394.datapack
    80 
    78 
    97   > EOF
    95   > EOF
    98 
    96 
    99   $ hg prefetch
    97   $ hg prefetch
   100   2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
    98   2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
   101   $ hg repack
    99   $ hg repack
   102   $ hg debugwaitonrepack >/dev/null 2>%1
       
   103 
   100 
   104   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
   101   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
   105   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
   102   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
   106   $TESTTMP/hgcache/master/packs/dc8f8fdc76690ce27791ce9f53a18da379e50d37.datapack
   103   $TESTTMP/hgcache/master/packs/dc8f8fdc76690ce27791ce9f53a18da379e50d37.datapack
   107 
   104 
   130   > bgprefetchrevs=
   127   > bgprefetchrevs=
   131   > nodettl=$(($(date +%s) + 100))
   128   > nodettl=$(($(date +%s) + 100))
   132   > EOF
   129   > EOF
   133 
   130 
   134   $ hg repack
   131   $ hg repack
   135   $ hg debugwaitonrepack >/dev/null 2>%1
       
   136 
   132 
   137   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
   133   $ find $CACHEDIR | sort | egrep ".datapack|.histpack"
   138   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
   134   $TESTTMP/hgcache/master/packs/7bcd2d90b99395ca43172a0dd24e18860b2902f9.histpack
   139   $TESTTMP/hgcache/master/packs/dc8f8fdc76690ce27791ce9f53a18da379e50d37.datapack
   135   $TESTTMP/hgcache/master/packs/dc8f8fdc76690ce27791ce9f53a18da379e50d37.datapack
   140 
   136