You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by udi <uk...@hotmail.com> on 2007/07/27 12:30:14 UTC

svn update..........

Hello, 

I have already checkout my Project Subversion Repository in the build server
at "D:\project-tunk" location using svn command client. 

Now I want to run "svn update" tasks for every-time when build runs instead
of check-out entire stuff again. Because our project size is 1.2GB and it is
very time-consuming process to check-out complete repository over the
Internet if only even a single character has changed. 

So, whenever build run it will just taking the update from SubVersion
Repository and start furthere process. 

I tried to update the project repository using below command but its gaves
me error :- 
<svn username="guest" password="Pass"> 
<update url="https://coconet-svn-in-.char.com/svn/rep/project-trunk" /> 
</svn> 

ERROR:- 
D:\MinBedrift\build.xml:37: update doesn't support the "url" attribute 

Here are the my build.xml for the reference. 
<property name="svnant.jar" value="${svnant}/svnant.jar"/> 
<property name="svnClientAdapter.jar"
value="${svnant}/svnClientAdapter.jar"/> 
<property name="svnjavahl.jar" value="${svnant}/svnjavahl.jar"/> 

<property name="svnant.lib" value="lib" /> 
<property name="svnant.jar" value="${svnant.lib}/svnant.jar" /> 
<property name="svnClientAdapter.jar"
value="${svnant.lib}/svnClientAdapter.jar" /> 
<property name="svnjavahl.jar" value="${svnant.lib}/svnjavahl.jar" /> 

<path id="project.classpath"> 
<pathelement location="${svnjavahl.jar}" /> 
<pathelement location="${svnant.jar}" /> 
<pathelement location="${svnClientAdapter.jar}" /> 
</path> 

<taskdef resource="svntask.properties" classpathref="project.classpath"/> 

<svn username="ukulkarn" password="Pass-123"> 
<update url="http://subclipse.tigris.org/svn/subclipse/trunk/svnant/"
revision="HEAD" destPath="D:\\MinBedrift" /> 
</svn> 

Does anybody is having sample "svn update" script to taking the update from
Subversion Repository? 

Please provide some guidelines or any sample script. 

Thanks...you help will be more appreciated...
-- 
View this message in context: http://www.nabble.com/svn-update..........-tf4157481.html#a11828280
Sent from the Subversion Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn update..........

Posted by Greg Thomas <th...@omc.bt.co.uk>.
On Fri, 27 Jul 2007 05:30:14 -0700 (PDT), udi <uk...@hotmail.com>
wrote:

>I tried to update the project repository using below command but its gaves
>me error :- 
><svn username="guest" password="Pass"> 
><update url="https://coconet-svn-in-.char.com/svn/rep/project-trunk" /> 
></svn> 

This is really an Ant question, not a subversion one, but a Subversion
"update" is carried out on a local file/directory, not a remote URL. I
don't know the right parameter name (you'll need to check the Ant
documentation), but at the command line it would be something like ...

svn update D:\MinBedrift

The local metadata will know the URL of the repository that the
working copy in question applies to.

HTH,

Greg
-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org