# HG changeset patch # User Adrian Buehlmann # Date 2008-10-27 12:22:45 # Node ID 671b3e1eac2ec3f75c7991fb6fbaf0f7a97b469f # Parent 723d7a2e6ec0864dd183fcb94554925131ca516e test-init: add test with format.usefncache=false diff --git a/tests/test-init b/tests/test-init --- a/tests/test-init +++ b/tests/test-init @@ -44,10 +44,14 @@ checknewrepo local echo this > local/foo hg ci --cwd local -A -m "init" -d "1000000 0" -echo "# creating repo with old format" +echo "# creating repo with format.usestore=false" hg --config format.usestore=false init old checknewrepo old +echo "# creating repo with format.usefncache=false" +hg --config format.usefncache=false init old2 +checknewrepo old2 + echo "#test failure" hg init local diff --git a/tests/test-init.out b/tests/test-init.out --- a/tests/test-init.out +++ b/tests/test-init.out @@ -5,8 +5,13 @@ revlogv1 store fncache adding foo -# creating repo with old format +# creating repo with format.usestore=false revlogv1 +# creating repo with format.usefncache=false +store created +00changelog.i created +revlogv1 +store #test failure abort: repository local already exists! # init+push to remote2