From fbf13575a309a5f3c8324c03442566a23be6c9d6 Mon Sep 17 00:00:00 2001 From: mhagger Date: Thu, 24 Feb 2011 04:30:25 +0000 Subject: [PATCH] Add a test that unlabeled branches can be excluded. git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5323 be7e6eca-30d4-0310-a8e5-ac0d63af7087 --- run-tests.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/run-tests.py b/run-tests.py index 634e60e9..80c7e48d 100755 --- a/run-tests.py +++ b/run-tests.py @@ -3669,6 +3669,18 @@ def ignore_unlabeled_branch(): @Cvs2SvnTestFunction +def exclude_unlabeled_branch(): + "exclude unlabeled branch" + + conv = ensure_conversion( + 'unlabeled-branch', + args=['--exclude=unlabeled-.*'], + ) + if conv.path_exists('branches', 'unlabeled-1.1.4'): + raise Failure('Branch unlabeled-1.1.4 not excluded') + + +@Cvs2SvnTestFunction def unlabeled_branch_name_collision(): "transform unlabeled branch to same name as branch" @@ -4124,11 +4136,12 @@ test_list = [ missing_deltatext, transform_unlabeled_branch_name, ignore_unlabeled_branch, + exclude_unlabeled_branch, unlabeled_branch_name_collision, collision_with_unlabeled_branch_name, many_deletes, - cvs_description, # 170: + cvs_description, include_empty_directories, include_empty_directories_no_prune, exclude_symbol_default, -- 2.11.4.GIT