diff options
author | Torgny Nyblom <nyblom@kde.org> | 2012-08-21 16:43:48 +0200 |
---|---|---|
committer | Torgny Nyblom <nyblom@kde.org> | 2012-08-21 16:43:48 +0200 |
commit | 2baedda2b06277544e3356670fd03e7e020d2abc (patch) | |
tree | 7b3b862bd268e7bd7aea00541b0d682a8c17a966 /src | |
parent | b46f9a8efb1799fc904150a4e2df4c055e29e8f7 (diff) | |
download | svn2git-2baedda2b06277544e3356670fd03e7e020d2abc.tar svn2git-2baedda2b06277544e3356670fd03e7e020d2abc.tar.gz svn2git-2baedda2b06277544e3356670fd03e7e020d2abc.tar.bz2 svn2git-2baedda2b06277544e3356670fd03e7e020d2abc.tar.xz svn2git-2baedda2b06277544e3356670fd03e7e020d2abc.zip |
Revert "Do not initialize master branch if branches were specified in the ruleset."
This reverts commit 2ce7467917ef046dd9abfb1eb5464cd1ee7c7726.
Diffstat (limited to 'src')
-rw-r--r-- | src/repository.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/repository.cpp b/src/repository.cpp index 8f64c28..44ec629 100644 --- a/src/repository.cpp +++ b/src/repository.cpp @@ -72,9 +72,8 @@ Repository::Repository(const Rules::Repository &rule) branches.insert(branchRule.name, branch); } - // create the default branch if no branches were manually specified - if (rule.branches.length() == 0) - branches["master"].created = 1; + // create the default branch + branches["master"].created = 1; fastImport.setWorkingDirectory(name); if (!CommandLineParser::instance()->contains("dry-run")) { |