mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Fixed: Skip .hg directories
This commit is contained in:
parent
658fc3c1ad
commit
b98648583d
1 changed files with 3 additions and 3 deletions
|
@ -898,10 +898,10 @@ void CFileContainer::getPathContent (const string &path, bool recurse, bool want
|
|||
|
||||
if (isdirectory(de))
|
||||
{
|
||||
// skip CVS and .svn directory
|
||||
if ((!showEverything) && (fn == "CVS" || fn == ".svn"))
|
||||
// skip CVS, .svn and .hg directory
|
||||
if ((!showEverything) && (fn == "CVS" || fn == ".svn" || fn == ".hg"))
|
||||
{
|
||||
NL_DISPLAY_PATH("PATH: CPath::getPathContent(%s, %d, %d, %d): skip CVS and .svn directory", path.c_str(), recurse, wantDir, wantFile);
|
||||
NL_DISPLAY_PATH("PATH: CPath::getPathContent(%s, %d, %d, %d): skip CVS, .svn and .hg directory", path.c_str(), recurse, wantDir, wantFile);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue