Changeset 195
- Timestamp:
- Sep 7, 2006, 3:44:35 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/svndigest.cc
r180 r195 56 56 try { 57 57 option = new Parameter(argc,argv); 58 if (option->verbose()) 59 std::cout << "Done parsing parameters" << std::endl; 58 60 } 59 61 catch (std::runtime_error e) { … … 65 67 SVN* svn=SVN::instance(); 66 68 try { 69 if (option->verbose()) 70 std::cout << "Connecting to WC adminstative area" << std::endl; 67 71 svn->setup_wc_adm_access(option->root()); 68 72 } … … 74 78 75 79 // check if target already exists and behave appropriately 80 if (option->verbose()) 81 std::cout << "Checking target directory" << std::endl; 76 82 std::string target_path=option->targetdir() + '/' + file_name(option->root()); 77 83 bool need_to_erase_target = check_target(target_path); … … 83 89 std::string repo; 84 90 try { 91 if (option->verbose()) 92 std::cout << "Acquiring repository information" << std::endl; 85 93 repo=SVNinfo(option->root()).repos_root_url(); 86 94 } … … 96 104 // statements below and will not remove a digest tree below if a 97 105 // tree already exists. 106 if (option->verbose()) 107 std::cout << "Building directory tree" << std::endl; 98 108 Directory tree(0,option->root(),""); 109 if (option->verbose()) 110 std::cout << "Parsing directory tree" << std::endl; 99 111 tree.parse(option->verbose()); 100 112 … … 102 114 std::vector<std::string> commit_dates; 103 115 try { 116 if (option->verbose()) 117 std::cout << "Retrieving commit dates" << std::endl; 104 118 svn->setup_ra_session(repo); 105 119 commit_dates=svn->commit_dates(repo); … … 113 127 if (need_to_erase_target) { 114 128 if (option->verbose()) 115 std::cout << " rm -rf" << target_path << "\n";129 std::cout << "Removing old target tree: " << target_path << "\n"; 116 130 rmdirhier(target_path); 117 131 } 118 132 133 if (option->verbose()) 134 std::cout << "Generating output" << std::endl; 119 135 if (!option->revisions()) 120 136 GnuplotFE::instance()->set_dates(commit_dates); … … 127 143 std::cerr << "svndigest: " << x.what() << std::endl; 128 144 } 145 if (option->verbose()) 146 std::cout << "Finalizing" << std::endl; 129 147 std::string css(file_name(option->root())+"/svndigest.css"); 130 148 std::ofstream os(css.c_str()); … … 133 151 134 152 delete option; 153 if (option->verbose()) 154 std::cout << "Done!" << std::endl; 135 155 exit(0); // normal exit 136 156 } -
trunk/configure.ac
r192 r195 27 27 28 28 AC_PREREQ(2.57) 29 AC_INIT([[svndigest]],[ 0.5],[jari@thep.lu.se])29 AC_INIT([[svndigest]],[pre0.6],[jari@thep.lu.se]) 30 30 AC_CONFIG_SRCDIR([lib/File.h]) 31 31 AC_CONFIG_AUX_DIR([autotools]) -
trunk/lib/SVN.cc
r191 r195 167 167 false, subpool); 168 168 if (err) 169 cleanup(err, subpool, "property: svn_subst_detranslate_string failed"); 169 cleanup(err, subpool, 170 path + 171 " property: svn_subst_detranslate_string failed on key " + 172 static_cast<const char*>(key)); 170 173 property[static_cast<const char*>(key)]=value->data; 171 174 }
Note: See TracChangeset
for help on using the changeset viewer.