Changeset 1561 for branches/0.10-stable


Ignore:
Timestamp:
Jun 1, 2014, 5:59:08 AM (5 years ago)
Author:
Peter Johansson
Message:

fixes #525

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.10-stable/lib/CacheRemover.cc

    r1447 r1561  
    7070    }
    7171    DirectoryUtil dir2(cache_dir);
    72     if (dir2.empty())
     72    // remove cache dir if it's empty and unversioned
     73    if (dir2.empty() && svn->version_controlled(cache_dir)==SVN::unversioned)
    7374      remove(cache_dir);
    7475  }
Note: See TracChangeset for help on using the changeset viewer.