]> andersk Git - svn-all-fast-export.git/blobdiff - src/ruleparser.h
Add support for annotated tags
[svn-all-fast-export.git] / src / ruleparser.h
index e0e311638849d4b06bb020258ab99163241f43c0..2e0904edad72ee41fd3d3eb725069a7b18b97c6e 100644 (file)
@@ -30,7 +30,6 @@ public:
         struct Branch
         {
             QString name;
-            QString branchFrom;
         };
 
         QString name;
@@ -45,12 +44,18 @@ public:
         QRegExp rx;
         QString repository;
         QString branch;
-        QString path;
         int minRevision;
         int maxRevision;
         int lineNumber;
+        bool annotate;
 
-        Match() : minRevision(-1), maxRevision(-1), lineNumber(0) { }
+        enum Action {
+            Ignore,
+            Export,
+            Recurse
+        } action;
+
+        Match() : minRevision(-1), maxRevision(-1), lineNumber(0), annotate(false), action(Ignore) { }
     };
 
     Rules(const QString &filename);
@@ -67,4 +72,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.10121 seconds and 4 git commands to generate.