aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 7baf995..4aa7695 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -651,7 +651,7 @@ void Repository::Transaction::commit()
QByteArray desc = "";
int i = !!parentmark; // if parentmark != 0, there's at least one parent
- if(log.contains("This commit was manufactured by cvs2svn to create ") && !merges.isEmpty()) {
+ if(log.contains("This commit was manufactured by cvs2svn") && merges.count() > 1) {
qSort(merges);
repository->fastImport.write("merge :" + QByteArray::number(merges.last()) + "\n");
merges.pop_back();