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

AW: RE: RE: How to change the 'Repository Root' once a project is connected to SVN?

From: Markus Karg <markus.karg_at_quipsy.de>
Date: 2005-10-11 13:58:22 CEST

Marcus,
 
it seems it is working now. Actually I don't know why (even I don't know why it did NOT work all the time before). But nevertheless, I'm happy and I'll finish this thread now. I can work again, and I accept that there is some strange bug in Subclipse that I do not understand and that no one can reproduce. What ever...
 
Thanks for you kind help! :-)
 
 
 
Mit freundlichem Gruss / With kind regards
Markus KARG, Staatl. gepr. Inf.
Entwicklung / R & D
QUIPSY QUALITY GmbH

________________________________

Von: Marcus Haarmann [mailto:marcus.haarmann@midoco.de]
Gesendet: Di 11.10.2005 12:48
An: users@subclipse.tigris.org
Betreff: RE: RE: How to change the 'Repository Root' once a project is connected to SVN?

Actually, the information is stored in the workspace folders
.metadata/.plugins/org.tigris.subversion.subclipse.core and org.tigris.subversion.subclipse.ui.
I do not recommend to modify these files, because some have binary information.
Instead, you could try to delete the files (or save at another location).
Eclipse will then know nothing about SVN locations. You can then enter your correct repository again.
It should map the existing projects to the new location.
 

Marcus Haarmann

 

________________________________

From: Markus Karg [mailto:markus.karg@quipsy.de]
Sent: Tuesday, October 11, 2005 12:00 PM
To: users@subclipse.tigris.org; users@subclipse.tigris.org
Subject: AW: RE: How to change the 'Repository Root' once a project is connected to SVN?

Marcus,
 
where are the repository locations stored? It seems Subclipse has screwed that file.
If I disconned ("delete all svn information = yes") project X from SVN, close the project, go to SVN browser, click on X's repository location, try to discard it, it tells me: The URL gets used by project X. Cool, isn't it?
 
So what file do I have to manually edit to make that repository location go away?
 
Mit freundlichem Gruss / With kind regards
Markus KARG, Staatl. gepr. Inf.
Entwicklung / R & D
QUIPSY QUALITY GmbH

________________________________

Von: Marcus Haarmann [mailto:marcus.haarmann@midoco.de]
Gesendet: Di 11.10.2005 09:08
An: users@subclipse.tigris.org
Betreff: RE: How to change the 'Repository Root' once a project is connected to SVN?

Hi,
 
just create a new repository entry in the SVN Repository perspective pointing to the trunk of your new location in the repository .
The automatically generated ones can be deleted afterwards from the SVN Repository view using the discard location function
(these should be subviews to the newly created one), and the projects will be referenced automatically in the new location.
You can also have multiple views to the same SVN (which is already the case in your situation), e.g. for a trunk and a special doc folder, which is located
in another part of the hierachy.

Marcus Haarmann

 

________________________________

From: Markus Karg [mailto:markus.karg@quipsy.de]
Sent: Tuesday, October 11, 2005 7:37 AM
To: users@subclipse.tigris.org
Subject: How to change the 'Repository Root' once a project is connected to SVN?

I don't know for what, but Subclipse asks for TWO URLs when connecting to a repository: The URL usual to SVN, and the 'repository root'. Other tools (SVN command line, TortoiseSVN) do not ask for that second URL. It seems that 'Root URL' is needed to truncate the tree of folders or something.
 
So now we have a problem with this. We copied a project from one machine to the other. Subclipse automatically created repository URL entries in the 'SVN Browser Perspective' without manual intervention. Cool. :-) But unfortunately, it didn't guess well the 'Root URL's, so now there is one new repository URL for each project, while on the original machine the root URL was set to one common supernode.
 
Now when I want to switch, I cannot select the trunk, because the root URL is set to 'branches/branch-current-when-copying', and as a result the trunk is not visible... :-(
 
So how to change that 'Root URL' to get back the complete folder list in the tree?
 
 
 
Mit freundlichem Gruss / With kind regards
Markus KARG, Staatl. gepr. Inf.
Entwicklung / R & D
QUIPSY QUALITY GmbH
Received on Tue Oct 11 21:58:22 2005

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.