Bug 229761 - Problem with tagging from branches
Summary: Problem with tagging from branches
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 229007 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-01 06:54 EDT by Damir Murat CLA
Modified: 2008-05-15 15:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damir Murat CLA 2008-05-01 06:54:50 EDT
Build ID: M20080221-1800 

Steps To Reproduce:
1. Switch to any perspective other than "SVN Repository
   Exploring" perspective, for example "Resource" 
   perspective. Create a new branch, for example
"svn://localhost/justanothersample/branches/mybranch". 
   Switch to the new branch.
2. From "Resource" perspective invoke "Team -> Tag..." 
   command. In "Create Tag" dialog specify new tag location,
   for example 
"svn://localhost/justanothersample/tags/mybranch_tags/myfirsttag". 
   Click OK.
3. New tag is created with an extra redundant "original 
   resource name" as last segment, for example
"svn://localhost/justanothersample/tags/mybranch_tags/myfirsttag/mybranch".


More information:
Above description is compiled with "Branch and Tag Settings"
switched to "Manual specification". However, same can be 
experienced with "Respect project structure" option enabled,
when one use "/" inside tag names as in "mybranch_tags/myfirsttag".

Workaround is to work from "SVN Repository Exploring" 
perspective where tags from branches are created as 
expected, without redundant suffix.

Above workaround will not cover tagging from working copy 
with mixed revisions, which is quite unfortunate. 

I've already filed this bug under ID# 229007, but for some 
reason it is not shown in search results. Therefore, I'm 
submitting it here again (I'll mark 229007 as duplicate of this one).
Comment 1 Damir Murat CLA 2008-05-01 06:55:56 EDT
*** Bug 229007 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Gurov CLA 2008-05-15 10:25:56 EDT
Now all perspectives behaves identically (fix will be available at the end of this week). Behaviour rules are:
	- no structure -> copy content to destination
	- structure detection disabled -> copy selection content to destination
	- consider structure disabled -> copy selection content to destination

	- single-project layout:trunk selected -> copy selection content to destination
	- single-project layout:child of trunk selected -> copy selection content to destination

	- multiple-project layout:trunk selected -> copy selection content to destination
	- multiple-project layout:trunk children selected -> copy selection to destination
	- multiple-project layout:one child of trunk selected -> copy selection to destination

	- tagging from branch and branching from tag uses the same rules, i.e. respects a project layout.
	
In order to track future improvements of branching and tagging you can subscribe to:

223871: Improve Branching and Tagging
https://bugs.eclipse.org/bugs/show_bug.cgi?id=223871
Comment 3 Damir Murat CLA 2008-05-15 15:31:05 EDT
(In reply to comment #2)

This is great:-) Can't wait to try it out. Many thanks.

Best regards,
Damir Murat