Originally posted by Phil Krasko:
Hi,
I just installed svnant the other day and have a few questions on the checkout and update tasks of svn. I'm fairly new to svn and have always used cvs in the past.
I used checkout to bring a local copy of the repository to my disk. It took about 5 mins.
Using update it took almost 18 mins. Why so long? CVS seems to be much faster (i think).
My main question has to deal with updating local files that have been modified. If i make changes to a local file and then use ant to update my local repo the modified file is never overwritten from head. How can I force svn to update local files that have been modified?
Your help would be greatly appreciated.
Here is a snippet from my build file:
Hello Phil,
This could have been done without using svnant, and simply using ant tasks by :-
where svn.path is the local path which you want to update, if this is the root directory of your application, then all sub-folders will be updated to the latest revision of the repository.
Put svn.path, svn.user and svn.password in a property file(say you give it name 'svn-update.properties') and include that property file in your build file by using the following command:-
[ December 21, 2008: Message edited by: Manish Doomra ]