Hello
 
I wonder if someone can help me.
 
I want to tag some stuff in CVS using cvs rtag.
I can create a tag on the main head branch using the <cvs-rtag> task but I also want to be able to create the tag on a branch. 
 
The actual cvs command I want to execute is
cvs -d :cvsroot rtag -r BranchName TagName module
 
The cvs-rtag task does not have a sticky-tag attribute.  I tried setting the attribute commandline="-r BranchName" but that just produced a cvs command line of
cvs -d:cvsroot rtag TagName "-r BranchName" module
which does not work. 
(In fact I am not sure the cvs-rtag task would work if anything was specified in the commandline as the cvs exe will be treating the command line value as a module name.)
 
Using <arg> child elements does not work either as these treat the arguments as options (which go at the start of the cvs command line).
 
And another question: why does the task have two attributes : tag and tagname.  Both must be specified or the task will fail but tag seems to be ignored!!
I've tried using the <cvs> task but without success.
 
I suppose I can just call the cvs executable using the exec command but I was hoping there was a more straightforward way.
 
Any help greatly appreciated.
 
Thanks
 
Chris Fewtrell
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System
- after being sent from Granta Design Ltd
______________________________________________________________________

Reply via email to