# # # patch "src/monotone/MonotoneThread.cpp" # from [9c85698d374dc6be2652e2a5b43b9d030a997390] # to [e3f258605fd1557753b903f13d1515b6e98d976b] # ============================================================ --- src/monotone/MonotoneThread.cpp 9c85698d374dc6be2652e2a5b43b9d030a997390 +++ src/monotone/MonotoneThread.cpp e3f258605fd1557753b903f13d1515b6e98d976b @@ -203,7 +203,8 @@ void MonotoneThread::run() // (this is hacky, of course, but there is still no error code // implementation in mtn, so we have to do raw string parsing...) QStringList env = QProcess::systemEnvironment(); - env.replaceInStrings(QRegExp("^LANG=.*", Qt::CaseInsensitive), "LANG=c"); + env.replaceInStrings(QRegExp("^LANG=.*", Qt::CaseInsensitive), ""); + env.push_back("LANG=c"); process->setEnvironment(env); L(QString("starting %1 %2").arg(mtnBinary).arg(args.join(" ")));