Changeset 1226
- Timestamp:
- Oct 17, 2010, 11:07:03 PM (13 years ago)
- Location:
- branches/visitor/bin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/visitor/bin/svndigest.cc
r1197 r1226 121 121 write_report(option, repo, tree, stats); 122 122 123 if (option.copyright()){124 update_copyright(tree, option.verbose());125 }126 123 } 127 124 catch (std::runtime_error& e) { -
branches/visitor/bin/svndigestParameter.cc
r1222 r1226 56 56 anchor_format_(cmd_,"anchor-format", 57 57 "override anchor image format defined in config file"), 58 copyright_(cmd_, "copyright", "update copyright statement [deprecated]"),59 58 force_(cmd_, "f,force", 60 59 std::string("if sub-directory named <ROOT> exists in target dire")+ … … 109 108 chdir(save_wd); 110 109 } 111 if (copyright()) {112 std::cerr << "svndigest: WARNING: option `--copyright' is deprecated; "113 << "use svncopyright instaed.\n";114 }115 110 } 116 }117 118 119 bool svndigestParameter::copyright(void) const120 {121 return copyright_.present();122 111 } 123 112 -
branches/visitor/bin/svndigestParameter.h
r1121 r1226 51 51 const yat::utility::OptionArg<std::string>& anchor_format(void) const; 52 52 53 bool copyright(void) const;54 53 bool force(void) const; 55 54 const yat::utility::OptionArg<std::string>& format(void) const; … … 65 64 66 65 yat::utility::OptionArg<std::string> anchor_format_; 67 yat::utility::OptionSwitch copyright_;68 66 yat::utility::OptionSwitch force_; 69 67 yat::utility::OptionArg<std::string> format_;
Note: See TracChangeset
for help on using the changeset viewer.