]> andersk Git - svn-all-fast-export.git/blobdiff - src/repository.cpp
Auto create branches
[svn-all-fast-export.git] / src / repository.cpp
index 699e686a25417063fb3b7f70ca0b6d90007c045a..1ebdb6f0e5f78c130261e098822849ef5c33527c 100644 (file)
@@ -114,8 +114,8 @@ Repository::Transaction *Repository::newTransaction(const QString &branch, const
                                                     int revnum)
 {
     if (!branches.contains(branch)) {
-        qCritical() << branch << "is not a known branch in repository" << name;
-        return 0;
+        qWarning() << branch << "is not a known branch in repository" << name << endl
+                   << "Going to create it automatically";
     }
 
     Transaction *txn = new Transaction;
This page took 0.038416 seconds and 4 git commands to generate.