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

Re: svn switch

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 12 Sep 2008 17:59:19 -0500

On Sep 12, 2008, at 04:59, N D wrote:

> On Fri, Sep 12, 2008 at 11:41 AM, Ryan Schmidt wrote:
>
>> On Sep 12, 2008, at 04:14, N D wrote:
>>
>>> i have code from trunk
>>> i execute svn info | grep URL and i see that it points to trunk
>>>
>>> i then do a svn switch <url_to_branch>, it gets the code giving A
>>> U C G information on the files, as the case is.
>>> again i execute svn info | grep URL, and again i see that it
>>> still points to the trunk, i expect that the svn info will tell
>>> this time that it is pointing to trunk
>>>
>>> can any comment/add/help?
>>
>> Could you show us a transcript instead of prose? I would have
>> expected this to work as well. Also tell us what OS you're on and
>> what version of Subversion you have.
>
> Transcript is
>
> First I execute:
> <user_home> svn co <url_to_trunk>/prj_name
> After this completes, I execute
> <user_home>svn info | grep URL
> I see this
> URL: https://<host_name>/<path_to_prj>/trunk/<prj_name>
>
> The I execute this command
> <user_home>svn switch https://<host_name>/<path_to_prj>/branches/
> <branch1>/<prj_name>
> After this completes, I execute
> <user_home>svn info | grep URL
> I see this
> URL: https://<host_name>/<path_to_prj>/branches/<branch1>/<prj_name>
>
> Which is miraculously correct. I just do not understand now, why it
> did not work earlir? :(
>
> The OS version I am using is
> Linux 2.4.21-47.EL #1 Wed Jul 5 20:39:00 EDT 2006 i686 athlon i386
> GNU/Linux

Glad it's working now!

> Btw I am using Subversion version 1.1.4 (r13838).

I recommend you upgrade to the current version, which is 1.5.2.
Subversion 1.3.x and earlier aren't supported anymore.

http://subversion.tigris.org/svn_1.5_releasenotes.html#svn-1.3-
deprecation

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-13 00:59:38 CEST

This is an archived mail posted to the Subversion Users mailing list.

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