Mercurial: Work on Windows using Tortoise Hg, polishing.

Do not use "cmd /c hg" on Windows as this will fail randomly
depending on arguments with blanks, such as "-U 8". Output log
messages about synchronous commands, format author correctly,
label menus correctly.
This commit is contained in:
Friedemann Kleint
2009-11-05 12:45:02 +01:00
parent c8bb7e174b
commit d570b05bec
10 changed files with 130 additions and 51 deletions

View File

@@ -31,7 +31,6 @@
#include "constants.h"
#include <coreplugin/icore.h>
#include <QtCore/QSettings>
@@ -134,11 +133,5 @@ void MercurialSettings::readSettings()
void MercurialSettings::setBinAndArgs()
{
standardArgs.clear();
#ifdef Q_OS_WIN
bin = QLatin1String("cmd.exe");
standardArgs << "/c" << app;
#else
bin = app;
#endif
}