diff options
Diffstat (limited to 'src/svn.cpp')
-rw-r--r-- | src/svn.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/svn.cpp b/src/svn.cpp index b44b36c..9cb0b98 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -303,6 +303,10 @@ int SvnPrivate::exportRevision(int revnum) // find the first rule that matches this pathname bool foundMatch = false; foreach (Rules::Match rule, matchRules) { + if (rule.minRevision > revnum) + continue; + if (rule.maxRevision != -1 && rule.maxRevision < revnum) + continue; if (rule.rx.exactMatch(current)) { foundMatch = true; QString repository = current; |