]> andersk Git - svn-all-fast-export.git/blobdiff - src/svn.cpp
Add support for min/max revision ranges
[svn-all-fast-export.git] / src / svn.cpp
index b44b36c93c721a05980bf405f3973be1b9fd9594..9cb0b989cdd680b4f0c494a9a1d246162d3f97ed 100644 (file)
@@ -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;
This page took 0.037421 seconds and 4 git commands to generate.