diff options
author | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-24 15:32:49 -0200 |
---|---|---|
committer | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-24 15:32:49 -0200 |
commit | 973fa95b8703cfa2b29933e98a20e1c8b8026c40 (patch) | |
tree | 3881bb95ed1fa1ef7a4be43b0bec7ff07df8b962 /src/ruleparser.cpp | |
parent | 8a1468fda7259d2d476e142fc1a45c115be4ed75 (diff) | |
download | svn2git-973fa95b8703cfa2b29933e98a20e1c8b8026c40.tar svn2git-973fa95b8703cfa2b29933e98a20e1c8b8026c40.tar.gz svn2git-973fa95b8703cfa2b29933e98a20e1c8b8026c40.tar.bz2 svn2git-973fa95b8703cfa2b29933e98a20e1c8b8026c40.tar.xz svn2git-973fa95b8703cfa2b29933e98a20e1c8b8026c40.zip |
remove the source branch in the rules
Diffstat (limited to 'src/ruleparser.cpp')
-rw-r--r-- | src/ruleparser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp index da05749..e9a1192 100644 --- a/src/ruleparser.cpp +++ b/src/ruleparser.cpp @@ -48,7 +48,7 @@ void Rules::load() // initialize the regexps we will use QRegExp repoLine("create repository\\s+(\\S+)", Qt::CaseInsensitive); - QRegExp repoBranchLine("branch\\s+(\\S+)\\s+from\\s+(\\S+)", Qt::CaseInsensitive); + QRegExp repoBranchLine("branch\\s+(\\S+)", Qt::CaseInsensitive); QRegExp matchLine("match\\s+(.*)", Qt::CaseInsensitive); QRegExp matchRepoLine("repository\\s+(\\S+)", Qt::CaseInsensitive); @@ -76,7 +76,6 @@ void Rules::load() if (repoBranchLine.exactMatch(line)) { Repository::Branch branch; branch.name = repoBranchLine.cap(1); - branch.branchFrom = repoBranchLine.cap(2); repo.branches += branch; continue; |