Subversion Client

xuratoth

Registered
Can somebody explain what I need to install on Panther to get a subversion/svn client installed? Do I need to install subversion itself on it, if I only want to access a subversion server on a remote Linux box?

What steps shoud I follow, and any recommendations as to which client is best would be appreciated.

Thanks.

PS - if it is of use, the development is MySQL, PHP, XHTML and Javascript.
 
Hi there,

I used svn for a while, just to compile nightly builds of Adium when the main release wasn't tiger compliant. They explain 3 ways to get svn at http://trac.adiumx.com/wiki/GettingAdiumSource . I think i just downloaded the binary (so yes, you do need to download svn from your machine as i understand it), then attach to your project server, after which its really pretty easy to update the source code, either go to the folder in the terminal and do "svn update" or i found "svn update projectname" worked to.

Am sure others can give you more complex advice,
ora
 
Resurrecting this thread again :)

I've installed the SVN client, plus the svnX GUI. So far I can connect to a remote repository. However, I can't as yet figure out how to get the svn client working from the command line in order to create a local repository for me to copy my working files into.

Speaking to a Linux-using colleague, he thinks that I need to add /usr/local/bin to the PATH variable so that the svn progs in that directory can be called from the shell.

I have two questions therefore:

1. when I'm in the above directory, why can't I issue the svn or svnadmin command? Why does it need to be in the PATH variable when I am already at the same location? Is this the way that Darwin works? Odd (to me!). If I do try to issue the command, I get a "not a known command" error. Yes it is, it's right there!

2. HOW do I include the directory into the PATH var? I think that I need to update my .login file, but I can't find it and am not sure what to add to it.

Your help, as ever, will be greatly appreciated. Thank you.
 
Answer to question number 1: you don't have "." in your PATH variable, which means that you can't execute commands in the working directory if it is outside the PATH. To execute a command in your working directory you write "./command_name".

Answer to question number 2: if yuor account was created in an earlier version of OS X than the one you have listed in your .sig, you're probably running tcsh, and then you do this:
echo 'setenv PATH /usr/local/bin:$PATH' >> ~/.tcshrc

If your account was created in 10.3, you're probably running bash, so you do this:
echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile

Close the Terminal window and open a new one, and it'll work.
 
THANK YOU!

It worked. And I even undesrtand what it's doing - slowly but surely I shall conquer the shell. Oh yes I shall!

Again, thanks.
 
Back
Top