[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: Bert Huijben <rhuijben_at_open.collab.net>
Date: Fri, 19 Dec 2008 00:00:38 +0100

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&dsMessageId=987025
Received on 2008-12-19 00:08:24 CET

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