]> andersk Git - svn-all-fast-export.git/blobdiff - src/svn.cpp
Complement the recurse rule finding (or not finding)
[svn-all-fast-export.git] / src / svn.cpp
index 378dc771f9f958f4674ac10671a86343f4cb387e..a32005a023e2cf1ce4f1e6e0de9ae877b66bc8ac 100644 (file)
@@ -160,7 +160,7 @@ int SvnPrivate::openRepository(const QString &pathToRepository)
     return EXIT_SUCCESS;
 }
 
-enum RuleType { AnyRule = 0, NoIgnoreRule = 0x01 };
+enum RuleType { AnyRule = 0, NoIgnoreRule = 0x01, NoRecurseRule = 0x02 };
 
 static MatchRuleList::ConstIterator
 findMatchRule(const MatchRuleList &matchRules, int revnum, const QString &current,
@@ -175,6 +175,8 @@ findMatchRule(const MatchRuleList &matchRules, int revnum, const QString &curren
             continue;
         if (it->action == Rules::Match::Ignore && ruleMask & NoIgnoreRule)
             continue;
+        if (it->action == Rules::Match::Recurse && ruleMask & NoRecurseRule)
+            continue;
         if (it->rx.indexIn(current) == 0)
             return it;
     }
This page took 0.024984 seconds and 4 git commands to generate.