aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2010-07-18 20:00:14 +0300
committerModestas Vainius <modestas@vainius.eu>2011-04-24 22:16:24 +0300
commitd257d0e911a18d2c248fc44328917ef209542a95 (patch)
tree42532cf2c130a6c1b902b55dc629c87b3ed433da /src
parent97a6dc9b7672d324451a6f941aa7af5537aeafaa (diff)
downloadsvn2git-d257d0e911a18d2c248fc44328917ef209542a95.tar
svn2git-d257d0e911a18d2c248fc44328917ef209542a95.tar.gz
svn2git-d257d0e911a18d2c248fc44328917ef209542a95.tar.bz2
svn2git-d257d0e911a18d2c248fc44328917ef209542a95.tar.xz
svn2git-d257d0e911a18d2c248fc44328917ef209542a95.zip
Initialize branches specified in the create repository ruleset.
Otherwise, what's the point of that directive. Sometimes repository does not start from the master branch.
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 e6ea81c..c51496b 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -67,7 +67,7 @@ Repository::Repository(const Rules::Repository &rule)
{
foreach (Rules::Repository::Branch branchRule, rule.branches) {
Branch branch;
- branch.created = 0; // not created
+ branch.created = 1;
branches.insert(branchRule.name, branch);
}