# # # add_dir "tests/importing_cvs_with_missing_delta" # # add_dir "tests/importing_cvs_with_missing_delta/e" # # add_file "tests/importing_cvs_with_missing_delta/__driver__.lua" # content [16a232a9a994f3d5c6b8e90721c57634f0a006a0] # # add_file "tests/importing_cvs_with_missing_delta/e/fileA,v" # content [48ca0fa265ddd223739c78483d813260541ed47c] # # patch "testsuite.lua" # from [938471ae83532d8391d491bb7090f511bc9ce64c] # to [5d58ac45d0fba225aefecc787a26d44dacdc97eb] # ============================================================ --- tests/importing_cvs_with_missing_delta/__driver__.lua 16a232a9a994f3d5c6b8e90721c57634f0a006a0 +++ tests/importing_cvs_with_missing_delta/__driver__.lua 16a232a9a994f3d5c6b8e90721c57634f0a006a0 @@ -0,0 +1,10 @@ + +-- very much based on importing_cvs_with_unnamed_branch, but +-- has the branch including all its deltas deleted completely + +mtn_setup() + +check(get("e")) + +check(mtn("--branch=test", "cvs_import", "e"), 1, false, true) +check(samelines("stderr", {"mtn: error: delta for a branchpoint is missing (1.1.2.1)"})) ============================================================ --- tests/importing_cvs_with_missing_delta/e/fileA,v 48ca0fa265ddd223739c78483d813260541ed47c +++ tests/importing_cvs_with_missing_delta/e/fileA,v 48ca0fa265ddd223739c78483d813260541ed47c @@ -0,0 +1,45 @@ +head 1.1; +access; +symbols + BRANCH_FROM_UNNAMED_BRANCH:1.1.2.1.0.2; +locks; strict; +comment @# @; + + +1.1 +date 2006.12.13.11.12.33; author markus; state Exp; +branches; +next ; +commitid On3UHQIcoaQxWlYr; + +1.1.2.1.2.1 +date 2006.12.13.11.12.35; author markus; state Exp; +branches; +next ; +commitid wprIv5MVOAzyWlYr; + + +desc +@@ + + +1.1 +log address@hidden versions +@ +text address@hidden +@ + + +1.1.2.1.2.1 +log address@hidden 1.3 of fileA +@ +text address@hidden 1 +a1 1 +1.3 +@ + + ============================================================ --- testsuite.lua 938471ae83532d8391d491bb7090f511bc9ce64c +++ testsuite.lua 5d58ac45d0fba225aefecc787a26d44dacdc97eb @@ -701,3 +701,4 @@ table.insert(tests, "importing_cvs_with_ table.insert(tests, "importing_cvs_with_tags_after_delete") table.insert(tests, "importing_cvs_branch_from_empty_branch") table.insert(tests, "importing_cvs_with_unnamed_branch") +table.insert(tests, "importing_cvs_with_missing_delta")