[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Nightlies download

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-04-19 12:12:09 CEST

>> What tools do you (want) to use?
> Anything that runs from a batch file or a python script or ...

I'm no good at either :-(.

>> Any you dislike?
> I don't want to fire up CygWin or FireFox just for the download.

The awk syntax I proposed won't require Cygwin.

But you're not going to like what I'm about to propose next, since it
requires that you have some sort of unix-compatible shell and tools in

Sorry, but I don't know Python nor NT scripting enough to propose
anything useful ;-/.

This line works for me:
rm BuildOutput.txt TortoiseSVN-1.2.0.*-dev-UNICODE_svn.1.2.x.msi ;
wget http://mapcar.org/tsvn-snapshots/latest/BuildOutput.txt ; wget
http://mapcar.org/tsvn-snapshots/latest/TortoiseSVN-1.2.0.`awk '/Last
committed at revision/ {print $NF}' < BuildOutput.txt | head -n
1`-dev-UNICODE_svn-1.2.x.msi ; rm BuildOutput.txt

As does the slightly more readable multi-line version:
rm BuildOutput.txt
rm TortoiseSVN-1.2.0.*-dev-UNICODE_svn.1.2.x.msi
wget http://mapcar.org/tsvn-snapshots/latest/BuildOutput.txt
rev=`awk '/Last committed at revision/ {print $NF}' < BuildOutput.txt
| head -n 1`
wget http://mapcar.org/tsvn-snapshots/latest/TortoiseSVN-1.2.0.$rev-dev-UNICODE_svn-1.2.x.msi
rm BuildOutput.txt

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Apr 19 12:12:25 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.