Discussion:
[Subclipse-users] change repository
fachhoch
2010-04-06 14:38:49 UTC
Permalink
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point my project to a new svn repository ?
--
View this message in context: http://old.nabble.com/change-repository-tp28152764p28152764.html
Sent from the subclipse - users mailing list archive at Nabble.com.

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Mark Phippard
2010-04-06 14:40:23 UTC
Permalink
Post by fachhoch
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point  my project to a new svn repository ?
Open the SVN Repositories view.

Right-click on your existing repository.

Choose the Relocate option.

This launches a wizard to change to the new URL. This will update any
projects in your workspace accordingly.
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
fachhoch
2010-04-06 17:13:30 UTC
Permalink
can I do it for a specific project ?
I want to retain the old repository too, I just want one of my project to
point to new repository .
Post by Mark Phippard
Post by fachhoch
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point  my project to a new svn repository ?
Open the SVN Repositories view.
Right-click on your existing repository.
Choose the Relocate option.
This launches a wizard to change to the new URL. This will update any
projects in your workspace accordingly.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2500541
--
View this message in context: http://old.nabble.com/change-repository-tp28152764p28154841.html
Sent from the subclipse - users mailing list archive at Nabble.com.

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Mark Phippard
2010-04-06 17:17:45 UTC
Permalink
Not from Subclipse. You either moved the repository or you didn't.
All the projects from that repos would need to be moved.
Post by fachhoch
can I do it for a specific project ?
I want to retain the old repository too, I just want one of my project to
point to  new repository .
Post by Mark Phippard
Post by fachhoch
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point  my project to a new svn repository ?
Open the SVN Repositories view.
Right-click on your existing repository.
Choose the Relocate option.
This launches a wizard to change to the new URL.  This will update any
projects in your workspace accordingly.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2500541
--
View this message in context: http://old.nabble.com/change-repository-tp28152764p28154841.html
Sent from the subclipse - users mailing list archive at Nabble.com.
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2501976
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Bartek Saran
2010-04-16 20:44:24 UTC
Permalink
Hi Mark,
I have a question along the same lines. I needed to move my entire repo from one server to another.

I had my repo on serverA and used svnadmin dump to make a REPO.DUMP file.

I setup serverB, and created REPO then used svnadmin load < REPO.DUMP to reproduce the identical repo on serverB. Everything is working fine, I can see two identical repos in the repositories view located on two different servers.

Will doing what you describe in your reply below (using Relocate) allow me to disconnect (or dis-associate) the projects in my workspace (working copies) from REPO on serverA and connect them to REPO on serverB? Thank you.






________________________________
From: Mark Phippard <***@gmail.com>
To: ***@subclipse.tigris.org
Sent: Tue, April 6, 2010 10:40:23 AM
Subject: Re: [Subclipse-users] [Subclipse-users] change repository
Post by fachhoch
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point my project to a new svn repository ?
Open the SVN Repositories view.

Right-click on your existing repository.

Choose the Relocate option.

This launches a wizard to change to the new URL. This will update any
projects in your workspace accordingly.
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Mark Phippard
2010-04-16 20:48:50 UTC
Permalink
Yes. The relocate option is basically just a wizard for telling us
you moved a repository to a new URL (but it is the same repository
with the same UUID). This wizard updates your repository item in the
view, which is trivial to do, but the main thing it does is run the
Subversion API for:

svn switch --relocate

On all of the projects in your workspace that were pointed to the old
URL. The SVN API does all the work.

Mark
Post by Bartek Saran
Hi Mark,
I have a question along the same lines. I needed to move my entire repo from
one server to another.
I had my repo on serverA and used svnadmin dump to make a REPO.DUMP file.
I setup serverB, and created  REPO then used svnadmin load < REPO.DUMP to
reproduce the identical repo on serverB. Everything is working fine, I can
see two identical repos in the repositories view located on two different
servers.
Will doing what you describe in your reply below (using Relocate) allow me
to disconnect (or dis-associate) the projects in my workspace (working
copies) from REPO on serverA and connect them to REPO on serverB? Thank you.
________________________________
Sent: Tue, April 6, 2010 10:40:23 AM
Subject: Re: [Subclipse-users] [Subclipse-users] change repository
Post by fachhoch
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point  my project to a new svn repository ?
Open the SVN Repositories view.
Right-click on your existing repository.
Choose the Relocate option.
This launches a wizard to change to the new URL.  This will update any
projects in your workspace accordingly.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2500541
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Bartek Saran
2010-05-12 18:31:51 UTC
Permalink
Hi,

Thank you for your help with this. worked great for the most part.

However, somehow I now have a project in my workbench that "possibly" wasn't there when I ran the relocate command and now when I try to synchronize or commit, it continues giving me errors relating to the now extinct old repo.

Is there any way to change the url associated with the project manually? or a better way to do this? if i look at the project's properties, it has the new url and path listed in the subversion properties section. Thanks again.

Bartek





________________________________
From: Mark Phippard <***@gmail.com>
To: ***@subclipse.tigris.org
Sent: Fri, April 16, 2010 4:48:50 PM
Subject: Re: [Subclipse-users] [Subclipse-users] change repository

Yes. The relocate option is basically just a wizard for telling us
you moved a repository to a new URL (but it is the same repository
with the same UUID). This wizard updates your repository item in the
view, which is trivial to do, but the main thing it does is run the
Subversion API for:

svn switch --relocate

On all of the projects in your workspace that were pointed to the old
URL. The SVN API does all the work.

Mark
Post by Bartek Saran
Hi Mark,
I have a question along the same lines. I needed to move my entire repo from
one server to another.
I had my repo on serverA and used svnadmin dump to make a REPO.DUMP file.
I setup serverB, and created REPO then used svnadmin load < REPO.DUMP to
reproduce the identical repo on serverB. Everything is working fine, I can
see two identical repos in the repositories view located on two different
servers.
Will doing what you describe in your reply below (using Relocate) allow me
to disconnect (or dis-associate) the projects in my workspace (working
copies) from REPO on serverA and connect them to REPO on serverB? Thank you.
________________________________
Sent: Tue, April 6, 2010 10:40:23 AM
Subject: Re: [Subclipse-users] [Subclipse-users] change repository
Post by fachhoch
My system admin changed our project repository to a new location .In eclipse
can I tell svn plugin to point my project to a new svn repository ?
Open the SVN Repositories view.
Right-click on your existing repository.
Choose the Relocate option.
This launches a wizard to change to the new URL. This will update any
projects in your workspace accordingly.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2500541
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Jeffrey A Schmitz
2010-04-19 00:35:23 UTC
Permalink
I have a very similar problem except that my old repository doesn't show up in the SVN Repositories view, and the old repository itself has been deleted. How do I get my project to point to the new repository location and basically start over? When I select Team->Share Project it leads me to a window that says:

Your project already has SVN directories. It was probably previously shared...

And it doesn't let me specify any other repository.

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Mark Phippard
2010-04-19 17:55:09 UTC
Permalink
Let it share it, then relocate it from the view?
Your project already has SVN directories.  It was probably previously shared...
And it doesn't let me specify any other repository.
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2588575
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Jeffrey A Schmitz
2010-04-20 01:01:57 UTC
Permalink
I did try that, but it gets an error since the repository doesn't actually exist:

org.tigris.subversion.javahl.ClientException: Connection refused
svn: Can't connect to host 'localhost': Connection refused

org.tigris.subversion.javahl.ClientException: Connection refused
svn: Can't connect to host 'localhost': Connection refused

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Mark Phippard
2010-04-20 01:20:53 UTC
Permalink
Then either use the command line to run svn switch --relocate or
checkout the project again from the new repository location.
Post by Jeffrey A Schmitz
org.tigris.subversion.javahl.ClientException: Connection refused
svn: Can't connect to host 'localhost': Connection refused
org.tigris.subversion.javahl.ClientException: Connection refused
svn: Can't connect to host 'localhost': Connection refused
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2589851
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Jeffrey A Schmitz
2010-04-20 15:23:11 UTC
Permalink
Does it matter that the new repository is empty? What I want to do is make the files that are currently in my Eclipse project that is still pointing to the deleted repository, the starting point of the new repository.

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Mark Phippard
2010-04-20 15:25:46 UTC
Permalink
On Tue, Apr 20, 2010 at 11:23 AM, Jeffrey A Schmitz
Does it matter that the new repository is empty?  What I want to do is make the files that are
currently in my Eclipse project that is still pointing to the deleted repository, the starting point of
the new repository.
I can't remember, does the share process give you a chance to delete
the current .svn folders so that you can start over? Normally this is
only available when you do Team > Disconnect.

I think if you just delete the .svn folder from your project root
folder that will be enough. Share will warn you it is going to delete
all the metadata -- which is exactly what you want. You can then
share it with your new repos.
--
Thanks

Mark Phippard
http://markphip.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [users-***@subclipse.tigris.org].
Continue reading on narkive:
Loading...