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

RE: Switched flag bug?

From: Hale,Katherine <halek_at_oclc.org>
Date: Fri, 19 Dec 2008 13:30:14 -0500

Thanks for the response - I will contact SVNKit then. I really wasn't
sure where to start because it didn't seem to be a Subclipse problem
either. I'll also specify next time it was a child folder not the root.

Kathy

-----Original Message-----
From: sussman_at_gmail.com [mailto:sussman_at_gmail.com] On Behalf Of Ben
Collins-Sussman
Sent: Friday, December 19, 2008 12:14 PM
To: Bert Huijben
Cc: Hale,Katherine; dev_at_subversion.tigris.org
Subject: Re: Switched flag bug?

Also, this is a question about SVNKit, which is a separate project from
Subversion -- it's a 100% java "clone" of Subversion, and has its
own mailing list and support channels. (See
http://svnkit.com/support.html) This list can only diagnose problems
with the original Subversion C libraries.

On Thu, Dec 18, 2008 at 5:00 PM, Bert Huijben <rhuijben_at_open.collab.net>
wrote:
> 2008/12/18 Hale,Katherine <halek_at_oclc.org>:
>> OS: Windows XP 32-bit
>> Eclipse: 3.3.2
>> Subversion Client Adapter: 1.5.2
>> Subclipse: 1.4.7
>> JavaHL: 1.5.4.1
>> SVNKit Client Adapater: 1.5.4
>> SVNKit Library: 1.2.5297
>>
>> When I switch a folder to a different branch (from /trunk/* to
>> /branches/RB_1.49/* for example), the flag for "switched" is still
>> set to false. It seems to me this was working in the past, although
>> it's not a feature I use often so I can't report exactly when. In
>> every other way except the flag, it appears the switch was
>> successful. Is it bug worthy, however?
>
> Hi,
>
> I think this question is better answered at
> users_at_subversion.tigris.org as I don't think this is a bug in your
> example.
>
> Did you switch the root of your workingcopy or some directory below
the root?
>
> The switched state is only valid on items below the point where you
> start looking. When you switched the root itself, subversion sees the
> directory of a checkout of the new location (and not switched).
>
> You should see the S on subversion in the following scenario:
> $ svn co http://svn.collab.net/repos/svn/trunk trunk $ cd trunk $ svn
> switch http://svn.collab.net/repos/svn/branches/1.5.x/subversion
> subversion
> $ svn st
> S subversion
>
> But when you directly call status on the subversion directory as in $
> svn st subversion You see no switched status, as you don't look at it
> via the parent.
>
> Bert
>>
>> Katherine Hale, x5162
>> Sogeti Web Applications Developer
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessage
> Id=987025
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=987701
Received on 2008-12-19 23:04:23 CET

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