ignore .svn folders (and their contents) when mounting dirs
This was SVN commit r1432.
This commit is contained in:
parent
4d83cba7e6
commit
f04af0077e
@ -622,9 +622,10 @@ static int tree_add_dirR(Dir* const dir, const char* const p_path, const Loc* co
|
|||||||
Dir* const subdir = &it->second;
|
Dir* const subdir = &it->second;
|
||||||
const char* const d_subdir_name = (it->first).c_str();
|
const char* const d_subdir_name = (it->first).c_str();
|
||||||
|
|
||||||
// don't clutter the tree with CVS dirs.
|
// don't clutter the tree with versioning system dirs.
|
||||||
// only applicable for normal dirs, since archives don't include CVS.
|
// only applicable for normal dirs; the archive builder
|
||||||
if(!strcmp(d_subdir_name, "CVS"))
|
// takes care of removing these there.
|
||||||
|
if(!strcmp(d_subdir_name, "CVS") || !strcmp(d_subdir_name, ".svn"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
char p_subdir_path[PATH_MAX];
|
char p_subdir_path[PATH_MAX];
|
||||||
|
Loading…
Reference in New Issue
Block a user