- switch (rule.action) {
- case Rules::Match::Ignore:
- // ignore rule
- qDebug() << " " << qPrintable(current) << "rev" << revnum
- << "-> ignored (rule" << rule << ")";
- return EXIT_SUCCESS;
-
- case Rules::Match::Recurse:
- // recurse rule
- if (is_dir)
- return recurse(key, change, path_from, rev_from, revpool);
- if (change->change_kind != svn_fs_path_change_delete)
- qWarning() << " recurse rule" << rule
- << "applied to non-directory:" << qPrintable(current);
- return EXIT_SUCCESS;
-
- case Rules::Match::Export:
- return exportInternal(key, change, path_from, rev_from, current, rule);
- }
+ return exportInternal(key, change, path_from, rev_from, current, rule);