aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.h
diff options
context:
space:
mode:
authorTorgny Nyblom <kde@nyblom.org>2010-03-15 19:45:14 +0100
committerTorgny Nyblom <kde@nyblom.org>2010-03-15 19:45:14 +0100
commit8b4c690f47700ceb242b39aef2609c370c67caf9 (patch)
treeda63455c57ffa87507ed63b795bf4504669e2222 /src/ruleparser.h
parentd563a594cfa5f5b6d48325dd3fc48df1b34e329f (diff)
downloadsvn2git-8b4c690f47700ceb242b39aef2609c370c67caf9.tar
svn2git-8b4c690f47700ceb242b39aef2609c370c67caf9.tar.gz
svn2git-8b4c690f47700ceb242b39aef2609c370c67caf9.tar.bz2
svn2git-8b4c690f47700ceb242b39aef2609c370c67caf9.tar.xz
svn2git-8b4c690f47700ceb242b39aef2609c370c67caf9.zip
Add support for a new rule tag:
rootdir /a/path/ This should be the part of the match that shouldn't be included in the commited path. Ex: match /trunk/kdenetwork/kmail/ rootdir /trunk/kdenetwork/ repository KDE/kdepim branch master end match This would but all matched files/directories under kmail into the repository under the subdir kmail
Diffstat (limited to 'src/ruleparser.h')
-rw-r--r--src/ruleparser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ruleparser.h b/src/ruleparser.h
index 54405e8..4ff77a2 100644
--- a/src/ruleparser.h
+++ b/src/ruleparser.h
@@ -44,6 +44,7 @@ public:
QRegExp rx;
QString repository;
QString branch;
+ QRegExp rootdir;
int minRevision;
int maxRevision;
int lineNumber;