summaryrefslogtreecommitdiff
path: root/src/plugins/cvs/checkoutwizard.cpp
diff options
context:
space:
mode:
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();