LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   new SVN source download information returns (http://www.linuxquestions.org/questions/linux-general-1/new-svn-source-download-information-returns-420155/)

sadarax 02-27-2006 05:29 PM

new SVN source download information returns
 
I am writing a script which uses svn to check or download files from some svn repositories. I basically want to know if there is a way have svn tell me if I need to download a new version of the source files or not. Essentially, I do not want to run through the download, configure, make, and make install if its not necessary.

fouldsy 03-01-2006 02:45 PM

Maybe a little too obvious, but why not simply do an "svn update" and grab the output to check if any new files have been downloaded? If so, they run whatever else you want in your script, otherwise if svn comes back saying you're already at the latest revision, you've got nothing left to do.


All times are GMT -5. The time now is 05:02 AM.