diff options
author | Modestas Vainius <modestas@vainius.eu> | 2010-07-18 20:00:14 +0300 |
---|---|---|
committer | Modestas Vainius <modestas@vainius.eu> | 2011-04-24 22:16:24 +0300 |
commit | d257d0e911a18d2c248fc44328917ef209542a95 (patch) | |
tree | 42532cf2c130a6c1b902b55dc629c87b3ed433da | |
parent | 97a6dc9b7672d324451a6f941aa7af5537aeafaa (diff) | |
download | svn2git-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.
-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 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); } |