tests/test-init.t
changeset 20180 969148b49fc6
parent 18356 752f77ef7202
child 22647 5b6cd8526d56
equal deleted inserted replaced
20179:5bb3826bdac4 20180:969148b49fc6
    23   revlogv1
    23   revlogv1
    24   store
    24   store
    25   $ echo this > local/foo
    25   $ echo this > local/foo
    26   $ hg ci --cwd local -A -m "init"
    26   $ hg ci --cwd local -A -m "init"
    27   adding foo
    27   adding foo
       
    28 
       
    29 test custom revlog chunk cache sizes
       
    30 
       
    31   $ hg --config format.chunkcachesize=0 log -R local -pv
       
    32   abort: revlog chunk cache size 0 is not greater than 0!
       
    33   [255]
       
    34   $ hg --config format.chunkcachesize=1023 log -R local -pv
       
    35   abort: revlog chunk cache size 1023 is not a power of 2!
       
    36   [255]
       
    37   $ hg --config format.chunkcachesize=1024 log -R local -pv
       
    38   changeset:   0:08b9e9f63b32
       
    39   tag:         tip
       
    40   user:        test
       
    41   date:        Thu Jan 01 00:00:00 1970 +0000
       
    42   files:       foo
       
    43   description:
       
    44   init
       
    45   
       
    46   
       
    47   diff -r 000000000000 -r 08b9e9f63b32 foo
       
    48   --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
       
    49   +++ b/foo	Thu Jan 01 00:00:00 1970 +0000
       
    50   @@ -0,0 +1,1 @@
       
    51   +this
       
    52   
    28 
    53 
    29 creating repo with format.usestore=false
    54 creating repo with format.usestore=false
    30 
    55 
    31   $ hg --config format.usestore=false init old
    56   $ hg --config format.usestore=false init old
    32   $ checknewrepo old
    57   $ checknewrepo old