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

RE: [Subclipse-users] Subclipse subversion Branching broken after recent upgrade

From: Stephen Elsemore <selsemore_at_collab.net>
Date: Wed, 9 Jan 2013 18:53:42 +0000

With the #1476 fix in place, when a single item is selected for Branch/Tag, the Copy to URL will always be initially set to the same URL as the selected item. The Resources section will always show the same URL as the Copy to URL. It will never append anything to what you enter in the Copy to URL. So if you want to create a branch from trunk, you will replace "trunk" in the Copy to URL with the name of the branch (i.e., "branches/mybranch"), and the Resources section will change accordingly, and will reflect the actual target URL.

Prior to the #1476 fix, you would see "trunk" incorrectly appended, as you've observed.

This was only an issue when your repository had a "project/trunk", "project/branches" type structure, rather than a "trunk/project", "branches/branch/project" type structure. After the #1476 fix, there isn't a problem regardless of the structure.

> -----Original Message-----
> From: Boberg, Doug [mailto:douglas.boberg_at_weareflood.com]
> Sent: Wednesday, January 09, 2013 9:17 AM
> To: users_at_subclipse.tigris.org
> Subject: [Subclipse-users] Subclipse subversion Branching broken after
> recent upgrade
>
> Eclipse Version: 3.7.2
> Subversion Client Adapter 1.8.3
> SVN Team Provider Core 1.8.17
> SVN Server: VisualSVN with Apache Subversion 1.7.8
>
> Repository URL: https://internalserver/svn/Test
>
> Within Eclipse's SVN Repositories window:
> 1. Expand repository browser to show branches, tags, trunk folders 2. Right
> click trunk folder and choose Branch/Tag...
> 3. Enter "https://internalserver/svn/Test/branches/projectname"
>
> - The "Resources" panel of step 3 states "trunk
> [https://internalserver/svn/Test/branches/projectname/trunk]"
>
> 4. If the "Create any intermediate folders that are missing" option is checked
> then then Eclipse's SVN Repositories window shows the folder hierarchy of "
> branches/projectname/trunk" exactly as the Resource panel describes.
>
> 5. If the "Create any intermediate folders" is NOT checked, then an error is
> reported:
> org.apache.subversion.javahl.ClientException: svn: E160013: Commit failed
> (details follow):
> svn: E160013: '/svn/Test/branches/projectname' path not found: 404 Not
> Found (https://internalserver)
> org.apache.subversion.javahl.ClientException: svn: E160013: Commit failed
> (details follow):
> svn: E160013: '/svn/Test/branches/projectname' path not found: 404 Not
> Found (https://internalserver)
>
>
> I expect step 3 to create a copy of the trunk into a new folder named
> "projectname". I do NOT expect the folder name "trunk" to be created
> underneath the projectname folder. The folder name "trunk" appended to
> the URL is incorrect.
>
> I think issue 1462 is related to this issue.
> Also, issue 1476 is NOT a fix for this issue despite the notes that claim
> otherwise. 1476's fix is about displaying the full path in the Resource panel,
> which does not address the incorrect appending of the word "trunk" to the
> URL.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3042181

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2013-01-09 19:53:47 CET

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.