aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago@cassini.local.lan>2007-12-24 19:36:19 -0200
committerThiago Macieira <thiago@cassini.local.lan>2007-12-24 19:36:19 -0200
commit898704e4260e2d42c75e123938470dab581a8d80 (patch)
tree7679312d38072d3c0a39f547c2268059cb782f81 /src/ruleparser.h
parent7a6160e7c284f7963399265544cfacd323c8db65 (diff)
downloadsvn2git-898704e4260e2d42c75e123938470dab581a8d80.tar
svn2git-898704e4260e2d42c75e123938470dab581a8d80.tar.gz
svn2git-898704e4260e2d42c75e123938470dab581a8d80.tar.bz2
svn2git-898704e4260e2d42c75e123938470dab581a8d80.tar.xz
svn2git-898704e4260e2d42c75e123938470dab581a8d80.zip
Refactor and add the ability to recurse into certain subdirs
Diffstat (limited to 'src/ruleparser.h')
-rw-r--r--src/ruleparser.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ruleparser.h b/src/ruleparser.h
index 4433862..7f458e7 100644
--- a/src/ruleparser.h
+++ b/src/ruleparser.h
@@ -48,7 +48,13 @@ public:
int maxRevision;
int lineNumber;
- Match() : minRevision(-1), maxRevision(-1), lineNumber(0) { }
+ enum Action {
+ Ignore,
+ Export,
+ Recurse
+ } action;
+
+ Match() : minRevision(-1), maxRevision(-1), lineNumber(0), action(Ignore) { }
};
Rules(const QString &filename);