Adapt to master

Change-Id: Ie1b9f937fe2daaaa2a181d28aec8ba065aff9e3f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Orgad Shaneh
2019-05-13 23:36:15 +03:00
committed by Orgad Shaneh
parent 0082162764
commit a1c0d912b2
2 changed files with 3 additions and 2 deletions

View File

@@ -641,8 +641,9 @@ bool FossilClient::synchronousCreateRepository(const QString &workingDirectory,
// @TODO: handle spaces in the path
// @TODO: what about --template options?
const Utils::FileName fullRepoName = Utils::FileName::fromStringWithExtension(repoName, Constants::FOSSIL_FILE_SUFFIX);
const Utils::FileName repoFilePath = Utils::FileName::fromString(repoPath)
.appendPath(Utils::FileName::fromString(repoName, Constants::FOSSIL_FILE_SUFFIX).toString());
.appendPath(fullRepoName.toString());
QStringList args(vcsCommandString(CreateRepositoryCommand));
if (!adminUser.isEmpty())
args << "--admin-user" << adminUser;