]> andersk Git - svn-all-fast-export.git/blobdiff - src/ruleparser.cpp
remove the source branch in the rules
[svn-all-fast-export.git] / src / ruleparser.cpp
index da05749e66fdb47e18867aedbcb0ea33cc93e725..e9a1192901757643e7b2f05cec8d4d7a87ade872 100644 (file)
@@ -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;
This page took 0.042191 seconds and 4 git commands to generate.