The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20120412

can't browse repositories from svn root in eclipse - repository has been moved svn: repository moved permanently to X; please relocate


before you set up SVN, i suggest you read these 2 links below.

there's 2 ways to set up svn:
* 1 repository
* multiple repositories
http://subversion.apache.org/faq.html#multi-proj

here's a discussion about the pros and cons of each method:

when i tried to list the repos in eclipse's svn browser with the following url:
http://example.com/svn

i would get the following error:
error validating location: "org.tigris.subversion.javahl.ClientException: repository has been moved
svn: repository moved permanently to X; please relocate

this is because i chose method 2, multiple repositories, so svn isn't a repository, thus the error message is technically correct.


UPDATE 20131030

i ran into this same error today while trying to create a tag from trunk, like this:
svn copy https://example.com/repos/myrepo/trunk/ https://example.com/repos/myrepo/tags/20131029-nick-rich-extdt/ -m "almost got context menu for trq list working, but dan says to start with primefaces instead"

which gave this output:
svn: Repository moved permanently to 'https://example.com/repos/tc_inc2/'; please relocate


all i had to do to make it work was just change "repos" to "svn" (both are valid for browsing the repo, but it required that i used "svn":
svn copy https://example.com/svn/myrepo/trunk/ https://example.com/svn/myrepo/tags/20131029-nick-rich-extdt/ -m "almost got context menu for trq list working, but dan says to start with primefaces instead"


No comments:

Post a Comment