forked from qt-creator/qt-creator
Version control: Compile with QT_NO_CAST_FROM_ASCII.
Change-Id: I85c007045efdb207f397b42fbce7a554ac9c9819 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
cdae5f2102
commit
e2ace515e2
@@ -1304,14 +1304,14 @@ bool SubversionPlugin::vcsCheckout(const QString &directory, const QByteArray &u
|
||||
// authentication will always fail (if the username and password data are not stored locally),
|
||||
// if for example we are logging into a new host for the first time using svn. There seems to
|
||||
// be a bug in subversion, so this might get fixed in the future.
|
||||
tempUrl.setUserInfo("");
|
||||
args << tempUrl.toEncoded() << directory;
|
||||
tempUrl.setUserInfo(QString());
|
||||
args << QLatin1String(tempUrl.toEncoded()) << directory;
|
||||
const SubversionResponse response = runSvn(directory, username, password, args,
|
||||
m_settings.longTimeOutMS(),
|
||||
VcsBase::VcsBasePlugin::SshPasswordPrompt);
|
||||
return !response.error;
|
||||
} else {
|
||||
args << url << directory;
|
||||
args << QLatin1String(url) << directory;
|
||||
const SubversionResponse response = runSvn(directory, args, m_settings.longTimeOutMS(),
|
||||
VcsBase::VcsBasePlugin::SshPasswordPrompt);
|
||||
return !response.error;
|
||||
|
Reference in New Issue
Block a user