Changeset 638


Ignore:
Timestamp:
May 31, 2008, 2:51:43 AM (13 years ago)
Author:
Peter Johansson
Message:

fixing copyright_test - refs #332

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r635 r638  
    184184    std::string cache_dir = directory_name(path()) + std::string(".svndigest/");
    185185    std::string cache_file = cache_dir + name()+std::string(".svndigest-cache");
    186     if (node_exist(cache_file)){
     186    if (!ignore && node_exist(cache_file)){
    187187      std::ifstream is(cache_file.c_str());
    188188      if (stats_.load_cache(is)){
  • trunk/test/copyright_test.cc

    r624 r638  
    7171  }
    7272  else if (verbose)
    73     std::cout << "File containes 1 copyright line.\n";
     73    std::cout << "File contains 1 copyright line.\n";
    7474
    7575  // warn about missing Copyright statement only in verbose mode
     
    119119    if (verbose)
    120120      std::cout << "ERROR: expected " << copyright_correct.size()
    121                 << "lines of Copyright (C)\n";
     121                << " lines of Copyright (C)\n"
     122                << "But found " << copyrights.size() << " lines.\n";
    122123  }
    123124  else {
Note: See TracChangeset for help on using the changeset viewer.