aboutsummaryrefslogtreecommitdiffstats
path: root/src/repository.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago@doriath.(none)>2008-08-13 13:35:59 +0200
committerThiago Macieira <thiago.macieira@trolltech.com>2008-08-13 13:36:10 +0200
commitff26f180723344b8ca3a1b35d1bbede1f6698f3a (patch)
treeade1e0844b9c24995c5c6d411760983ab10a5ded /src/repository.cpp
parent72da461078a7d04396a2123575f0cabd14e095de (diff)
downloadsvn2git-ff26f180723344b8ca3a1b35d1bbede1f6698f3a.tar
svn2git-ff26f180723344b8ca3a1b35d1bbede1f6698f3a.tar.gz
svn2git-ff26f180723344b8ca3a1b35d1bbede1f6698f3a.tar.bz2
svn2git-ff26f180723344b8ca3a1b35d1bbede1f6698f3a.tar.xz
svn2git-ff26f180723344b8ca3a1b35d1bbede1f6698f3a.zip
Auto create branches
Diffstat (limited to 'src/repository.cpp')
-rw-r--r--src/repository.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 699e686..1ebdb6f 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -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;