diff options
-rw-r--r-- | src/svn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/svn.cpp b/src/svn.cpp index 378dc77..a32005a 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -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 ¤t, @@ -175,6 +175,8 @@ findMatchRule(const MatchRuleList &matchRules, int revnum, const QString ¤ 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; } |