You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Hale,Katherine" <ha...@oclc.org> on 2008/12/18 20:50:06 UTC
Switched flag bug?
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?
Katherine Hale, x5162
Sogeti Web Applications Developer
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=986964
RE: Switched flag bug?
Posted by "Hale,Katherine" <ha...@oclc.org>.
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@gmail.com [mailto:sussman@gmail.com] On Behalf Of Ben
Collins-Sussman
Sent: Friday, December 19, 2008 12:14 PM
To: Bert Huijben
Cc: Hale,Katherine; dev@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 <rh...@open.collab.net>
wrote:
> 2008/12/18 Hale,Katherine <ha...@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@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
Re: Switched flag bug?
Posted by Mark Phippard <mp...@collab.net>.
On Fri, Dec 19, 2008 at 12:14 PM, Ben Collins-Sussman
<su...@red-bean.com> wrote:
> 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.
Subclipse allows you to have both JavaHL and SVNKit installed. She
appears to have both. I do not think she was using SVNKit.
That said, I do not know why she posted this on Subversion list
anyway. I've already given same answer as Bert on Subclipse list a
couple of times.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=987640
Re: Switched flag bug?
Posted by Ben Collins-Sussman <su...@red-bean.com>.
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 <rh...@open.collab.net> wrote:
> 2008/12/18 Hale,Katherine <ha...@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@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
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=987625
Re: Switched flag bug?
Posted by Bert Huijben <rh...@open.collab.net>.
2008/12/18 Hale,Katherine <ha...@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@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