Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Howto configure "Branch and tag settings"
Howto configure "Branch and tag settings" [message #25924] Fri, 18 July 2008 07:21 Go to next message
Eclipse UserFriend
Originally posted by: lorenzo.martinelli.tele2.it

I use the classical svn structure:
myproject1
|----trunk
|---dir1
|---dir2
|---dir3
|---...
|----branches
|---mybranch1
|---dir1
|---dir2
|---...
|---mybranch2
|---...
|----tags
|---mytag1
|---dir1
|---dir2
|---...
|---mytag2
|---...
myproject2
|----trunk
|---...
|----branches
|---...
|----tags
|---...

I use SVN 1.5 and JavaHL 1.5.
I've selected in tab Repository, "Respect project structure".
When I create a tag mytag from the trunk I obtain:
myproject1
|----tags
|---mytag
|---trunk
|---dir1
|---dir2
|---dir3


I don't want the folder trunk in mytag!!!
With the previous version of SVN (and Connector) or with TortoiseSVN, I
obtain what I expect:
myproject1
|----tags
|---mytag
|---dir1
|---dir2
|---dir3

It's a bug? It's possible configure better this behaviour?
A workaround is to set "Manual specification" instead of "Respect project
structure", but with this configuration I loose many functionality!

Best regards,
Lorenzo Martinelli
Re: Howto configure "Branch and tag settings" [message #25967 is a reply to message #25924] Fri, 18 July 2008 07:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hello Lorenzo,


It looks like a bug. Could you please describe exact steps to reproduce it
(do you have performed tagging for repository resources using SVN
Repositories Exploring view or for already checked out projects etc.)?
Re: Howto configure "Branch and tag settings" [message #26008 is a reply to message #25967] Fri, 18 July 2008 08:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lorenzo.martinelli.tele2.it

Configure JavaHL 1.5.0
Set "Respect project structure"
Create a "Java Project" with "Projects from SVN" wizard (select trunk
folder).
From Java Perspective, select Team/Tag... and create tag (for example
Ver-1_33_0)

From svn console I obtain:

*** Check Out
svn checkout "https://svn.myco.com/lab713/uni/trunk@HEAD" -r HEAD --depth
infinity "D:\work\workspace\source\uni"
A D:/work/workspace/source/uni/releaseNotes.css
A D:/work/workspace/source/uni/project.xsd
A D:/work/workspace/source/uni/doc
A D:/work/workspace/source/uni/doc/analisysAndDesign
A ...
A ...
A ...
A ...
A D:/work/workspace/source/uni/releaseNotes.xsl
D:/work/workspace/source/uni
At revision 733
*** Ok (took 04:26.141)

*** Tag
svn mkdir "https://svn.myco.com/lab713/uni/tags/Ver-1_33_0" -m "Prova di
tag"
svn copy "D:/work/workspace/source/uni"
"https://svn.myco.com/lab713/uni/tags/Ver-1_33_0/trunk" -r WORKING -m
"Prova di tag"
A D:/work/workspace/source/uni
*** Ok (took 00:04.281)
Re: Howto configure "Branch and tag settings" [message #26048 is a reply to message #26008] Fri, 18 July 2008 09:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lorenzo.martinelli.tele2.it

There is the same problem with branch (from menu Team/Branch...):

*** Branch
svn mkdir "https://svn.myco.com/lab713/uni/branches/Branch-1_33_0" -m
"Creo un branch di prova"
svn copy "D:/work/workspace/source/uni"
" https://svn.myco.com/lab713/uni/branches/Branch-1_33_0/trunk" -r WORKING
-m "Creo un branch di prova"
A D:/work/workspace/source/uni
*** Ok (took 00:03.078)
Re: Howto configure "Branch and tag settings" [message #26365 is a reply to message #26048] Tue, 22 July 2008 16:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hello Lorenzo,


Do you have ".project" file on repository inside the "trunk" folder?
Re: Howto configure "Branch and tag settings" [message #30863 is a reply to message #26365] Sat, 09 August 2008 12:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skateinmars.skateinmars.net

Alexander Gurov a écrit :
> Hello Lorenzo,
>
>
> Do you have ".project" file on repository inside the "trunk" folder?
>
>
Hello, I would like to bump this thread as I have the same problem. (Maybe this
is related with bug 229761 ?)
I created a local respository, with the .project file not checked in (usually we
add eclipse related files in a svn:ignore property of trunk/).

Here is the output from the SVN console (the repository being
file:///home/skateinmars/tests/depotdetest/) showing the issue for tagging and
branching :

*** Check Out
svn checkout "file:///home/skateinmars/tests/depotdetest/trunk@HEAD" -r HEAD
--depth infinity "/home/skateinmars/workspace/depotdetest"
/home/skateinmars/workspace/depotdetest
At revision 1
*** Ok (took 00:00.596)

*** Add to Version Control
svn add "/home/skateinmars/workspace/depotdetest/example"
A /home/skateinmars/workspace/depotdetest/example
*** Ok (took 00:00.018)

*** Commit
svn commit "/home/skateinmars/workspace/depotdetest/example" -N -m "Adding
example file"
A workspace/depotdetest/example
Transmitting file data: workspace/depotdetest/example
Committed revision 2
*** Ok (took 00:00.677)

*** Tag
svn mkdir "file:///home/skateinmars/tests/depotdetest/tags/REL1" -m "Tagging
release 1"
svn copy "/home/skateinmars/workspace/depotdetest"
"file:///home/skateinmars/tests/depotdetest/tags/REL1/trunk" -r WORKING -m
"Tagging release 1"
A /home/skateinmars/workspace/depotdetest
A /home/skateinmars/workspace/depotdetest/example
*** Ok (took 00:00.640)

*** Branch
svn mkdir "file:///home/skateinmars/tests/depotdetest/branches/stable" -m
"creation of the stable branche"
svn copy "/home/skateinmars/workspace/depotdetest"
" file:///home/skateinmars/tests/depotdetest/branches/stable/t runk" -r WORKING -m
"creation of the stable branche"
A /home/skateinmars/workspace/depotdetest
A /home/skateinmars/workspace/depotdetest/example
*** Ok (took 00:00.663)
Re: Howto configure "Branch and tag settings" [message #30933 is a reply to message #26365] Mon, 11 August 2008 07:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lorenzo.martinelli.tele2.it

No
Re: Howto configure "Branch and tag settings" [message #30968 is a reply to message #30863] Mon, 11 August 2008 07:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hello Jean-Philippe,

Subversive uses .project file in order to detect project layouts. So, if
no .project file available on the repository then project layout is always
recognized as "multiple project layout".
Re: Howto configure "Branch and tag settings" [message #31003 is a reply to message #30933] Mon, 11 August 2008 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hello Lorenzo,

Subversive uses .project file in order to detect project layouts. So, if
no .project file available on the repository then project layout is always
recognized as "multiple project layout".
Re: Howto configure "Branch and tag settings" [message #31037 is a reply to message #30968] Mon, 11 August 2008 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skateinmars.skateinmars.net

Alexander Gurov a écrit :
> Hello Jean-Philippe,
>
> Subversive uses .project file in order to detect project layouts. So, if
> no .project file available on the repository then project layout is
> always recognized as "multiple project layout".
>
Thanks for the answer, it indeed works fine with a .project in the repository.

Is there a way to set a local preference (per-project or eclipse-wide) about
this projects-layout, forcing subversive to use a single project layout ?
Re: Howto configure "Branch and tag settings" [message #31105 is a reply to message #31037] Mon, 11 August 2008 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Currently there is no way to point the layout type manually but we have
the task
223871: Improve Branching and Tagging
https://bugs.eclipse.org/bugs/show_bug.cgi?id=223871
on our Bugzilla tracker.
So, you can share your opinion about how to improve the branching and
tagging functionality.
Re: Howto configure "Branch and tag settings" [message #31140 is a reply to message #31003] Mon, 11 August 2008 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lorenzo.martinelli.tele2.it

I've installed the new version 0.7.2 (with JavaHL 1.5.1)
I've added ".project" file on repository inside the "trunk" folder:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>uni</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

But when I try to create a tag (Ver-1_34_0) I obtain this error:
Tag operation for some of selected resources failed.
A path under version control is needed for this operation

and from svn console:
*** Tag
svn copy "C:/tmp/workspace/uni" "https://svn.myco.com/uni/tags/Ver-1_34_0"
-r WORKING -m "My comment"
A path under version control is needed for this operation

*** Error (took 00:02.343)
Re: Howto configure "Branch and tag settings" [message #31175 is a reply to message #31140] Mon, 11 August 2008 13:58 Go to previous message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

This error relates to JavaHL binaries of 1.5.1 version. As workaround
we've published new Subversive build on the weekly update site. This build
contains oldest JavaHL binaries of 1.5.0 version which does not contain
this issue.
Previous Topic:Ubuntu 8.04 Connectors
Next Topic:My Ganymede Subversive has no SVN Connector
Goto Forum:
  


Current Time: Fri Apr 19 12:06:32 GMT 2024

Powered by FUDForum. Page generated in 0.02094 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top