aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/repository.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index ab2a7de..d071ce6 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -471,10 +471,6 @@ int FastImportRepository::createBranch(const QString &branch, int revnum,
const QString &branchFrom, int branchRevNum)
{
startFastImport();
- if (!branches.contains(branch)) {
- qWarning() << branch << "is not a known branch in repository" << name << endl
- << "Going to create it automatically";
- }
QByteArray branchFromDesc = "from branch " + branchFrom.toUtf8();
int mark = markFrom(branchFrom, branchRevNum, branchFromDesc);