Changeset 1226


Ignore:
Timestamp:
Oct 17, 2010, 11:07:03 PM (11 years ago)
Author:
Peter Johansson
Message:

refs #476 and #385. Remove --copyright switch in svndigest program.

Location:
branches/visitor/bin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/visitor/bin/svndigest.cc

    r1197 r1226  
    121121      write_report(option, repo, tree, stats);
    122122
    123     if (option.copyright()){
    124       update_copyright(tree, option.verbose());
    125     }
    126123  }
    127124  catch (std::runtime_error& e) {
  • branches/visitor/bin/svndigestParameter.cc

    r1222 r1226  
    5656      anchor_format_(cmd_,"anchor-format",
    5757                     "override anchor image format defined in config file"),
    58       copyright_(cmd_, "copyright", "update copyright statement [deprecated]"),
    5958      force_(cmd_, "f,force",
    6059             std::string("if sub-directory named <ROOT> exists in target dire")+
     
    109108        chdir(save_wd);
    110109      }
    111       if (copyright()) {
    112         std::cerr << "svndigest: WARNING: option `--copyright' is deprecated; "
    113                   << "use svncopyright instaed.\n";
    114       }
    115110    }
    116   }
    117 
    118 
    119   bool svndigestParameter::copyright(void) const
    120   {
    121     return copyright_.present();
    122111  }
    123112
  • branches/visitor/bin/svndigestParameter.h

    r1121 r1226  
    5151    const yat::utility::OptionArg<std::string>& anchor_format(void) const;
    5252   
    53     bool copyright(void) const;
    5453    bool force(void) const;
    5554    const yat::utility::OptionArg<std::string>& format(void) const;
     
    6564
    6665    yat::utility::OptionArg<std::string> anchor_format_;
    67     yat::utility::OptionSwitch copyright_;
    6866    yat::utility::OptionSwitch force_;
    6967    yat::utility::OptionArg<std::string> format_;
Note: See TracChangeset for help on using the changeset viewer.