]> 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 4160d3faf9a3ba48b255edde2c64a2e3a2bacf18..d837599fcf53fc474126a42795e4447e36780a82 100644 (file)
@@ -63,21 +63,26 @@ public:
     ~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.064157 seconds and 4 git commands to generate.