Changeset 834 for trunk/lib/Directory.cc


Ignore:
Timestamp:
Nov 7, 2009, 9:50:15 PM (12 years ago)
Author:
Peter Johansson
Message:

fixes #397. get latest rev from SVNinfo instead of SVNlog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r827 r834  
    106106  {
    107107    return name() + "/index.html";
     108  }
     109
     110
     111  svn_revnum_t Directory::last_changed_rev(void) const
     112  {
     113    svn_revnum_t res = svn_info().last_changed_rev();
     114    for (NodeConstIterator i=daughters_.begin(); i!=daughters_.end(); ++i)
     115      res = std::max(res, (*i)->last_changed_rev());
     116    return res;
    108117  }
    109118
Note: See TracChangeset for help on using the changeset viewer.