*/
#include "repository.h"
+#include "options.h"
#include <QTextStream>
#include <QDebug>
#include <QLinkedList>
if ((++commitCount % 10000) == 0)
// write everything to disk every 10000 commits
fastImport.write("checkpoint\n");
- if (++outstandingTransactions == 0)
+ if (outstandingTransactions++ == 0)
lastmark = 1; // reset the mark number
return txn;
}
QByteArray message = log;
if (!message.endsWith('\n'))
message += '\n';
- message += "\nsvn path=" + svnprefix + "; revision=" + QByteArray::number(revnum) + "\n";
+ if (Options::globalOptions->switches.value("metadata", true))
+ message += "\nsvn path=" + svnprefix + "; revision=" + QByteArray::number(revnum) + "\n";
{
QByteArray branchRef = branch;