]> andersk Git - svn-all-fast-export.git/blobdiff - src/repository.cpp
remove the source branch in the rules
[svn-all-fast-export.git] / src / repository.cpp
index 08a5306fa6a10722c0fcefd357b94fb9dd5abfad..1a422f8fbd45da092563be7669ae6af5e49161cf 100644 (file)
@@ -24,9 +24,6 @@ Repository::Repository(const Rules::Repository &rule)
 {
     foreach (Rules::Repository::Branch branchRule, rule.branches) {
         Branch branch;
-        branch.branchFrom = branchRule.branchFrom;
-        if (!branch.branchFrom.startsWith("refs/"))
-            branch.branchFrom.prepend("refs/heads/");
         branch.isCreated = false;
 
         branches.insert(branchRule.name, branch);
@@ -204,7 +201,6 @@ void Repository::Transaction::commit()
         Branch &br = repository->branches[branch];
         if (!br.isCreated) {
             br.isCreated = true;
-            s << "from " << br.branchFrom << endl;
         }
 
         s << "data " << message.length() << endl;
This page took 0.063021 seconds and 4 git commands to generate.