Re: what's a "trail url"?
From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-10-30 03:21:00 CET
At 12:47 AM +0100 10/25/03, Philip Martin wrote:
I have a script that:
I need some way for the script to know XXXX. I have related scripts
Yes, it's true, this script knows the root of the svn tree (don't we
Here's the calculation; as you can see, I've had to hard-code the
set -- `svn info .|grep '^URL:'`
set --
result=0
if expr "$url" : ".*/trunk\$" > /dev/null \
elif expr "$url" : ".*/tags/.*" > /dev/null ; then
elif expr "$url" : ".*/branches/.*" > /dev/null ; then
echo "$version"
-- -==- Jack Repenning CollabNet, Inc. 8000 Marina Boulevard, Suite 600 Brisbane, California 94005 o: 650.228.2562 c: 408.835.8090 f: 650.228.2501 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Thu Oct 30 03:21:44 2003 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.