]> andersk Git - svn-all-fast-export.git/commitdiff
Auto create branches
authorThiago Macieira <thiago@doriath.(none)>
Wed, 13 Aug 2008 11:35:59 +0000 (13:35 +0200)
committerThiago Macieira <thiago.macieira@trolltech.com>
Wed, 13 Aug 2008 11:36:10 +0000 (13:36 +0200)
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.052817 seconds and 5 git commands to generate.