X-Git-Url: http://andersk.mit.edu/gitweb/svn-all-fast-export.git/blobdiff_plain/e087596c78237db34511211719218fe0fb2e8e51..bdc20860cb0bd30bcef6732e5e2f1811b8c2cdf4:/src/repository.cpp diff --git a/src/repository.cpp b/src/repository.cpp index 1cb7c41..bec114b 100644 --- a/src/repository.cpp +++ b/src/repository.cpp @@ -201,7 +201,11 @@ void Repository::Transaction::commit() s << "committer " << author << ' ' << datetime << " -0000" << endl; Branch &br = repository->branches[branch]; - Q_ASSERT(br.created); + if (!br.created) { + qWarning() << "Branch" << branch << "doesn't exist at revision" + << revnum << "-- did you resume from the wrong revision?"; + br.created = revnum; + } s << "data " << message.length() << endl; }