Changeset 691
- Timestamp:
- Sep 7, 2008, 7:44:00 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/svndigest.cc
r687 r691 106 106 107 107 // check if target already exists and behave appropriately 108 if (option->verbose()) 109 std::cout << "Checking target directory" << std::endl; 108 bool need_to_erase_target=false; 110 109 std::string target_path=option->targetdir() + '/' + file_name(option->root()); 111 bool need_to_erase_target = node_exist(target_path); 112 if (need_to_erase_target && !option->force()) { 113 std::cerr << "svndigest: directory `" 114 << target_path << "' already exists\n"; 115 exit(-1); 110 if (option->report()) { 111 if (option->verbose()) 112 std::cout << "Checking target directory" << std::endl; 113 need_to_erase_target = node_exist(target_path); 114 if (need_to_erase_target && !option->force()) { 115 std::cerr << "svndigest: directory `" 116 << target_path << "' already exists\n"; 117 exit(-1); 118 } 116 119 } 117 120 -
trunk/test/test_repo.sh.in
r687 r691 34 34 fi 35 35 36 @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f\36 @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir \ 37 37 --ignore-cache --no-report $1; 38 38
Note: See TracChangeset
for help on using the changeset viewer.