Changeset 1072
- Timestamp:
- Jun 6, 2010, 5:55:07 AM (13 years ago)
- Location:
- trunk/bin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/svncopyright.cc
r1070 r1072 52 52 return EXIT_SUCCESS; 53 53 } 54 55 if (option.verbose()) 56 std::cout << "Initializing SVN singleton." << std::endl; 57 SVN::instance(option.root()); 54 58 } 55 59 catch (std::runtime_error& e) { -
trunk/bin/svndigest.cc
r1070 r1072 80 80 return EXIT_SUCCESS; 81 81 } 82 83 if (option.verbose()) 84 std::cout << "Initializing SVN singleton." << std::endl; 85 SVN::instance(option.root()); 82 86 } 83 87 catch (std::runtime_error& e) { … … 88 92 // just for convenience 89 93 Configuration& config = Configuration::instance(); 90 91 SVN* svn=NULL;92 try {93 if (option.verbose())94 std::cout << "Initializing SVN singleton." << std::endl;95 svn=SVN::instance(option.root());96 }97 catch (SVNException e) {98 std::cerr << "svndigest: " << e.what() << "\n";99 exit(EXIT_FAILURE);100 }101 94 102 95 // check if target already exists and behave appropriately
Note: See TracChangeset
for help on using the changeset viewer.