Changeset 538 for trunk/bin


Ignore:
Timestamp:
Dec 27, 2007, 8:25:08 AM (16 years ago)
Author:
Peter Johansson
Message:

added ignore-cache option

Location:
trunk/bin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/Parameter.cc

    r519 r538  
    7474        help();
    7575        exit(0);      // always exit after printing help
     76      }
     77      else if (myargv=="--ignore-cache"){
     78          ignore_cache_=true;
     79          ok=true;
    7680      }
    7781      else if (myargv=="-r" || myargv=="--root"){
     
    181185    force_=false;
    182186    generate_config_=false;
     187    ignore_cache_=false;
    183188    report_=true;
    184189    revisions_=false;
     
    217222         << "to standard output and exit\n"
    218223         << "-h, --help\tdisplay this help and exit\n"
     224         << "    --ignore-cache\tIgnore cache files and analyze "
     225         << "everything from repository\n"
    219226         << "    --no-report\tCreate no HTML report\n"
    220227         << "    --revisions\tUse revision numbers as time scale "
  • trunk/bin/Parameter.h

    r519 r538  
    4141    inline bool force(void) const { return force_; }
    4242    inline bool generate_config(void) const { return generate_config_; }
     43    inline bool ignore_cache(void) const { return ignore_cache_; }
    4344    inline bool report(void) const { return report_; }
    4445    inline bool revisions(void) const { return revisions_; }
     
    5960    bool force_;
    6061    bool generate_config_;
     62    bool ignore_cache_;
    6163    bool report_;
    6264    bool revisions_;
  • trunk/bin/svndigest.cc

    r533 r538  
    151151  if (option->verbose())
    152152    std::cout << "Parsing directory tree" << std::endl;
    153   StatsCollection stats(tree->parse(option->verbose()));
     153  StatsCollection stats(tree->parse(option->verbose(), option->ignore_cache()));
    154154
    155155  if (option->report()) {
Note: See TracChangeset for help on using the changeset viewer.