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

Fwd: svn switch

From: N D <niranjan8712_at_gmail.com>
Date: Fri, 12 Sep 2008 11:59:19 +0200

Btw I am using *Subversion* <http://subversion.tigris.org/>* version 1.1.4
(r13838).*

---------- Forwarded message ----------
From: N D <niranjan8712_at_gmail.com>
Date: Fri, Sep 12, 2008 at 11:57 AM
Subject: Re: svn switch
To: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Cc: Subversion Users <users_at_subversion.tigris.org>

 Hi Ryan,

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><https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>

The I execute this command
<user_home>svn switch
https://<host_name>/<path_to_prj>/<https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>
branches/<branch1>/<prj_name><https://aspr01015.nl.eu.abnamro.com/svn/payments/pfw/branches/v1_11_28_patches/>
 After this completes, I execute
<user_home>svn info | grep URL
I see this
 URL: https://<host_name>/<path_to_prj>/<https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>
branches<https://aspr01015.nl.eu.abnamro.com/svn/payments/pfw/branches/v1_11_28_patches/>
/<branch1>/<prj_name><https://%3chost_name%3e/%3Cpath_to_prj%3E/trunk/%3Cprj_name%3E>

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
  On Fri, Sep 12, 2008 at 11:41 AM, Ryan Schmidt <
subversion-2008c_at_ryandesign.com> 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.
>
>

-- 
Regards,
Niranjan Deshpande
"Shut yourself from the world and create the reality you want"
Received on 2008-09-12 11:59:46 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.