# # # rename "tests/importing_cvs_with_missing_delta" # to "tests/importing_cvs_missing_delta_1" # # add_dir "tests/importing_cvs_missing_delta_2" # # add_dir "tests/importing_cvs_missing_delta_2/cvs-repository" # # add_dir "tests/importing_cvs_missing_delta_2/cvs-repository/test" # # add_file "tests/importing_cvs_missing_delta_2/__driver__.lua" # content [de9ec677d2bb89644564b5eb60b1fa4228a180f9] # # add_file "tests/importing_cvs_missing_delta_2/cvs-repository/test/foo,v" # content [c93bf1e540ecc554f043913c6f2573c29285d631] # ============================================================ --- tests/importing_cvs_missing_delta_2/__driver__.lua de9ec677d2bb89644564b5eb60b1fa4228a180f9 +++ tests/importing_cvs_missing_delta_2/__driver__.lua de9ec677d2bb89644564b5eb60b1fa4228a180f9 @@ -0,0 +1,12 @@ + +mtn_setup() + +-- This is the same repository as in 'importing_cvs_files', except that +-- the delta for file foo @ 1.3 as been manually removed. + +check(get("cvs-repository")) + +-- try an import... +check(mtn("--branch=testbranch", "cvs_import", "cvs-repository/test"), 1, false, true) +check(samelines("stderr", {"mtn: error: delta for revision 1.2 is missing"})) + ============================================================ --- tests/importing_cvs_missing_delta_2/cvs-repository/test/foo,v c93bf1e540ecc554f043913c6f2573c29285d631 +++ tests/importing_cvs_missing_delta_2/cvs-repository/test/foo,v c93bf1e540ecc554f043913c6f2573c29285d631 @@ -0,0 +1,66 @@ +head 1.4; +access; +symbols; +locks; strict; +comment @# @; + + +1.4 +date 2007.02.27.20.56.07; author markus; state Exp; +branches; +next 1.3; +commitid IfLVNWqiXFLhJa8s; + +1.3 +date 2007.02.27.20.56.06; author markus; state Exp; +branches; +next 1.2; +commitid CtanCPNehnbhJa8s; + +1.2 +date 2007.02.27.20.56.05; author markus; state Exp; +branches; +next 1.1; +commitid IkocdHkrmeSgJa8s; + +1.1 +date 2007.02.27.20.56.04; author markus; state Exp; +branches; +next ; +commitid aPp3YlZMS1pgJa8s; + + +desc +@@ + + +1.4 +log address@hidden 3 +@ +text address@hidden 3 of test file foo +@ + + +1.2 +log address@hidden 1 +@ +text address@hidden 1 +a1 1 +version 1 of test file foo +@ + + +1.1 +log address@hidden 0 +@ +text address@hidden 1 +a1 1 +version 0 of test file foo +@ +