Subversion Tips
18 April 2004, 06:37 AM Filed in: …on Coding
Here’s a few tips that I’ve discovered to ease working with Subversion.
Long URLs
Tired of those long URLs, like svn+ssh://foo@bar.com/long/directory/hierarchy/to/svn/repo/trunk
? Use a shell alias, function or shell script which simply prints the URL. e.g.
#!/bin/sh
echo "svn+ssh://foo@bar.com/long/directory/hierarchy/to/svn/repo/$@"
Save the shell script as, say, FooSVN
. Now, instead of typing those long URLs on the commandline, you can just write svn co `FooSVN trunk`
instead.
Comments