]> andersk Git - svn-all-fast-export.git/commitdiff
Complement the recurse rule finding (or not finding)
authorThiago Macieira <thiago@cassini.local.lan>
Thu, 27 Dec 2007 17:49:15 +0000 (15:49 -0200)
committerThiago Macieira <thiago@cassini.local.lan>
Thu, 27 Dec 2007 17:49:15 +0000 (15:49 -0200)
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.307702 seconds and 5 git commands to generate.