summaryrefslogtreecommitdiff
path: root/src/plugins/cvs/checkoutwizard.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2015-01-23 10:00:45 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2015-05-11 13:21:35 +0000
commitf21d2023e86e8ba9c0725852a79394ec80baaf16 (patch)
treea13fd2d3d1ffa123a73a658a8c752f4b4a6a4016 /src/plugins/cvs/checkoutwizard.cpp
parentcaca9dfa6f63c942d591f6cf8e41475ebf68d93d (diff)
downloadqt-creator-f21d2023e86e8ba9c0725852a79394ec80baaf16.tar.gz
Utils: Add a WizardPage to show progress of a ShellCommand
Use the new page in favor of the CheckoutProgressWizardPage. Change-Id: I7801c146fa67d6fcf550616f3798a7a919aafb96 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cvs/checkoutwizard.cpp')
-rw-r--r--src/plugins/cvs/checkoutwizard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cvs/checkoutwizard.cpp b/src/plugins/cvs/checkoutwizard.cpp
index 343ee8161e..334cd415c2 100644
--- a/src/plugins/cvs/checkoutwizard.cpp
+++ b/src/plugins/cvs/checkoutwizard.cpp
@@ -73,6 +73,10 @@ VcsCommand *CheckoutWizard::createCommand(Utils::FileName *checkoutDir)
const Utils::FileName binary = settings.binaryPath();
QStringList args;
+ // cwp->repository() contains the CVS module to check out only.
+ // The CVSROOT (== actual repository) for that module is part of the CVS settings.
+ // The checkout will always go into a new subfolder named after the CVS module.
+
const QString repository = cwp->repository();
args << QLatin1String("checkout") << repository;
const QString workingDirectory = cwp->path();