Terminal + SVN

I just upgraded svn from v1.4.4 to 1.6.3. After a successful install
(which should have installed in /opt/subversion/bin/svn - same as the
old version) I wanted to verify the new version in the Terminal so I
typed:

svn --version

and it showed v1.4.4, not 1.6.3.

Is this the right command to use?

Todd


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Start with which svn to find the thing. It may not have installed where you think it did, and thus may not be first in your path. Then try echo $PATH to see the search order inherent in your path.

One of those conditions (it’s not where you’re looking for it / you’re looking somewhere else first) is likely true and the cause of your problem.

Walter


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter, I got it straightened out. I had to update the $PATH.

In the Terminal:

echo "export PATH=/opt/subversion/bin:${PATH}" >> ~/.bash_profile
source ~/.bash_profile

Now, svn --version returns the correct one (1.6.3).

Todd

On Jul 2, 2009, at 5:34 PM, waltd wrote:

Start with which svn to find the thing. It may not have installed
where you think it did, and thus may not be first in your path. Then
try echo $PATH to see the search order inherent in your path.

One of those conditions (it’s not where you’re looking for it /
you’re looking somewhere else first) is likely true and the cause of
your problem.


offtopic mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options