rules.load();
int min_rev = options.options.value("resume-from").toInt();
+ int max_rev = options.options.value("max-rev").toInt();
if (min_rev < 1)
min_rev = 1;
svn.setMatchRules(rules.matchRules());
svn.setRepositories(repositories);
- int max_rev = svn.youngestRevision();
+ if (max_rev < 1)
+ max_rev = svn.youngestRevision();
for (int i = min_rev; i <= max_rev; ++i)
if (!svn.exportRevision(i))
break;