You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-users@maven.apache.org by Jad SAMAHA <js...@rs2i.fr> on 2010/09/28 17:19:14 UTC
CVS : passing the "prune empty directories" flag to the checkout
command
Hello everyone,
I'm trying to get maven to checkout projects using the -P flag, which
stands for "prune empty directories". This flag is quite useful since
CVS does not really provide an option to remove directories and this
flag is the only way (as far as I know) to extract a clean copy of a
project.
I've been looking around and there doesn't seem to be a way to pass a
flag to the checkout command (and not the cvs command). I might be
totally wrong and I could use some help :)
To sum up, currently the command produced is :
[INFO] Executing: cmd.exe /X /C "cvs -z3 -f -d
:pserver:<login>@<url>:/<cvsroot> -q checkout -d <folderName> <myproject>"
And I'd like it to look like this :
[INFO] Executing: cmd.exe /X /C "cvs -z3 -f -d
:pserver:<login>@<url>:/<cvsroot> -q checkout -P -d <folderName>
<myproject>"
Thanks in advance !
Jad