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

Re: [Subclipse-users] Branch with Switch corrupts workspace

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 17 Aug 2009 11:39:39 -0400

Please file an issue with these details. It definitely sounds like a bug.

On Mon, Aug 17, 2009 at 11:35 AM, Chris
Feldhacker<feldhacker.chris_at_principal.com> wrote:
> Using Subclipse 1.6.5 with JavaHL 1.6.4 (r38063) against a 1.6.3 server using HTTPS. (With Rational Application Developer v7.5.3 on Windows XP, which is based on Eclipse 3.4.2)
>
> My application trunk (/svn/Playground/ExampleApplication/trunk/) contains 4 Eclipse projects:
> Example
> ExampleEJB
> ExampleJava
> ExampleWeb
>
> ...which I checked-out into my workspace.
> I then selected all 4 projects, right-clicked, Team --> Branch/Tag, and entered the path to ".../ExampleApplication/branches/FeatureB" and told it to create an intermediate folders that did not exist, copied from HEAD, I then selected the option to "Switch to new branch/tag".
>
> The result is that the branch (and contents) are properly created in the repository.  However, the projects in the workspace become corrupt -- essentially, each project appears as though it contains a nested copy of all four projects that were selected.
>
> (If I perform the same steps but don't choose the "Switch to new branch/tag" option, then everything works fine.  I can then perform a separate step to switch to the new branch and it still works fine.)
>
> I can provide screenshots and full console logs if needed, but what I think the problem boils down to is this:  When the "Switch to new branch/tag" option is selected, the following commands show in the console log:
>
> copy -rHEAD https://svn.pfg.com:8400/svn/Playground/ExampleApplication/trunk/Example https://svn.pfg.com:8400/svn/Playground/ExampleApplication/trunk/ExampleEJB https://svn.pfg.com:8400/svn/Playground/ExampleApplication/trunk/ExampleJava https://svn.pfg.com:8400/svn/Playground/ExampleApplication/trunk/ExampleWeb https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB C:/Workspaces/Subversion753/Example -r HEAD --force
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB C:/Workspaces/Subversion753/ExampleEJB -r HEAD --force
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB C:/Workspaces/Subversion753/ExampleJava -r HEAD --force
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB C:/Workspaces/Subversion753/ExampleWeb -r HEAD --force
> (With lots of adds and deletes after each switch.)
>
> However, if I do not select this option but instead perform a switch as a separate step, then the following commands are executed:
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB/ExampleEJB C:/Workspaces/Subversion753/ExampleEJB -r HEAD --depth=infinity --force
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB/ExampleJava C:/Workspaces/Subversion753/ExampleJava -r HEAD --depth=infinity --force
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB/ExampleWeb C:/Workspaces/Subversion753/ExampleWeb -r HEAD --depth=infinity --force
> switch https://svn.pfg.com:8400/svn/Playground/ExampleApplication/branches/FeatureB/Example C:/Workspaces/Subversion753/Example -r HEAD --depth=infinity --force
>
>
> So, it seems choosing the "Switch to new branch/tag" option causes a switch command to be executed that does NOT have the project name appended after the branch name.
> Can anyone confirm this to be a defect?
>
> Thanks!!!
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2384409
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2384410
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-08-17 17:40:05 CEST

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

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