Commit 71a9d811 authored by Tobias Hunger's avatar Tobias Hunger

HG: Use -A when commiting

Fixes commiting of untracked files.

Change-Id: I7111ed8a74ce80876a2ec2220ceace6f7aa77373
Reviewed-on: http://codereview.qt-project.org/4892Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent df616897
......@@ -317,7 +317,7 @@ void MercurialClient::commit(const QString &repositoryRoot, const QStringList &f
const QStringList &extraOptions)
{
QStringList args(extraOptions);
args << QLatin1String("--noninteractive") << QLatin1String("-l") << commitMessageFile;
args << QLatin1String("--noninteractive") << QLatin1String("-l") << commitMessageFile << QLatin1String("-A");
VCSBaseClient::commit(repositoryRoot, files, commitMessageFile, args);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment