]> andersk Git - svn-all-fast-export.git/blobdiff - src/repository.h
Add a process cache to keep the number of processes under 100
[svn-all-fast-export.git] / src / repository.h
index c0556c712a7d3c3b4461a9cad059e33d68d48977..d837599fcf53fc474126a42795e4447e36780a82 100644 (file)
@@ -62,18 +62,27 @@ public:
     Repository(const Rules::Repository &rule);
     ~Repository();
 
+    void reloadBranches();
+    void createBranch(const QString &branch, int revnum,
+                      const QString &branchFrom, int revFrom);
     Transaction *newTransaction(const QString &branch, const QString &svnprefix, int revnum);
 
 private:
     struct Branch
     {
-        QString branchFrom;
-        bool isCreated;
+        int created;
     };
 
     QHash<QString, Branch> branches;
+    QString name;
     QProcess fastImport;
+    int commitCount;
+    bool processHasStarted;
 
+    void startFastImport();
+    void closeFastImport();
+
+    friend class ProcessCache;
     Q_DISABLE_COPY(Repository)
 };
 
This page took 0.024204 seconds and 4 git commands to generate.