Hi all,
 
I've attached a patch to fix a few issues with the Subversion source control task. The 
diffs are actually for the base class, AbstractSvnTask. Apart from a couple of simple 
typos the main issue concerns command line handling. Command line arguments weren't 
being passed to the subversion command line, which made several operations impossible 
to specify. I'll be the first to admit this patch is an ugly kludge, but at least it 
gets the task working.
 
Usage is now, for example:
 
<svn command="checkout"
  destination="/buildroot"
  commandline="/buildroot"
  svnroot="svn://sourceserver/project" />
 
Note that, although the "destination" attribute is used to set the working directory, 
it is not passed to subversion itself and therefore you need to add the destination 
folder to the command line if you aren't using the default working copy root.
 
If someone could take a look at the patch and commit it if it looks OK that would be 
great. If there are any problems then let me know and I'll take another look at it. 
Also, if nobody else is actively working on the subversion tasks, I'm happy to do a 
more substantial overhaul of them.
 
Cheers,
    Simon

Attachment: AbstractSvnTask.cs.diff
Description: AbstractSvnTask.cs.diff



Reply via email to