aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2010-06-19 20:28:53 +0530
committerRaja R Harinath <harinath@hurrynot.org>2010-06-19 20:54:03 +0530
commita79e6c5ca1af54465d55f3d494398e392e20e4b9 (patch)
tree0e4cc2e33f26a8dee3282042462202ac9ae2cbd0 /src
parent88f73d5f435df7153590b5f8da964133f577b16b (diff)
downloadsvn2git-a79e6c5ca1af54465d55f3d494398e392e20e4b9.tar
svn2git-a79e6c5ca1af54465d55f3d494398e392e20e4b9.tar.gz
svn2git-a79e6c5ca1af54465d55f3d494398e392e20e4b9.tar.bz2
svn2git-a79e6c5ca1af54465d55f3d494398e392e20e4b9.tar.xz
svn2git-a79e6c5ca1af54465d55f3d494398e392e20e4b9.zip
Initialize lastmark
Ensure that marks start at 1, now that they're visible in the logs
Diffstat (limited to 'src')
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 426eeff..29337eb 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -52,7 +52,7 @@ public:
static ProcessCache processCache;
Repository::Repository(const Rules::Repository &rule)
- : name(rule.name), commitCount(0), outstandingTransactions(0), processHasStarted(false)
+ : name(rule.name), commitCount(0), outstandingTransactions(0), lastmark(0), processHasStarted(false)
{
foreach (Rules::Repository::Branch branchRule, rule.branches) {
Branch branch;