diff options
author | Anders Kaseorg <andersk@MIT.EDU> | 2008-12-28 15:26:23 -0500 |
---|---|---|
committer | Thiago Macieira <thiago@kde.org> | 2009-01-08 16:58:07 +0100 |
commit | fc7b4bccdc719177ec0b4fa135e43ec96403c7b7 (patch) | |
tree | b5097ec0fc5722ee8777e1fabc342e003a646286 | |
parent | 8b6c8bd67831d68f8a275d8986e6589291ab6ba2 (diff) | |
download | svn2git-fc7b4bccdc719177ec0b4fa135e43ec96403c7b7.tar svn2git-fc7b4bccdc719177ec0b4fa135e43ec96403c7b7.tar.gz svn2git-fc7b4bccdc719177ec0b4fa135e43ec96403c7b7.tar.bz2 svn2git-fc7b4bccdc719177ec0b4fa135e43ec96403c7b7.tar.xz svn2git-fc7b4bccdc719177ec0b4fa135e43ec96403c7b7.zip |
Fix initialization of Repository::lastmark when creating a new transaction.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Thiago Macieira <thiago@kde.org>
-rw-r--r-- | src/repository.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp index 512a745..5faf2af 100644 --- a/src/repository.cpp +++ b/src/repository.cpp @@ -159,7 +159,7 @@ Repository::Transaction *Repository::newTransaction(const QString &branch, const if ((++commitCount % 10000) == 0) // write everything to disk every 10000 commits fastImport.write("checkpoint\n"); - if (++outstandingTransactions == 0) + if (outstandingTransactions++ == 0) lastmark = 1; // reset the mark number return txn; } |