]> andersk Git - svn-all-fast-export.git/blobdiff - src/ruleparser.h
Remove the recurse rule
[svn-all-fast-export.git] / src / ruleparser.h
index f882289442a97b71b9392cb021c16f71d5010b72..d70a39b143b07e99c3a4e262cd3976dd54dd7f79 100644 (file)
@@ -30,7 +30,6 @@ public:
         struct Branch
         {
             QString name;
-            QString branchFrom;
         };
 
         QString name;
@@ -49,7 +48,12 @@ public:
         int maxRevision;
         int lineNumber;
 
-        Match() : minRevision(-1), maxRevision(-1), lineNumber(0) { }
+        enum Action {
+            Ignore,
+            Export
+        } action;
+
+        Match() : minRevision(-1), maxRevision(-1), lineNumber(0), action(Ignore) { }
     };
 
     Rules(const QString &filename);
@@ -66,4 +70,9 @@ private:
     QList<Match> m_matchRules;
 };
 
+#ifndef QT_NO_DEBUG_STREAM
+class QDebug;
+QDebug operator<<(QDebug, const Rules::Match &);
+#endif
+
 #endif
This page took 0.506332 seconds and 4 git commands to generate.