forked from qt-creator/qt-creator
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user