Create local svn repo / URL?

I need an SVN repo, just local on my PC. What I did was

mkdir ~/svn/MyProject
svnadmin create --fs-type fsfs ~/svn/MyProject
svnserve -d

Under ~/svn/MyProject, there's a conf folder, so I take it that creating the repo was successful.

I would expect the repo to be accessible under svn://127.0.0.1/svn/MyProject but it isn't. Are there other steps that I need to take?

2 Answers

Just to note:

If you starting svnserve without rooting to parent of repo-collection (-r parameter), URL in path-part must contain full path from the root of filesystem to the repo-folder, like

svn://127.0.0.1/home/user/svn/MyProject

0

Just found out it is reachable with this URL: file:///home/myUsername/svn/MyProject. Enough if only used locally.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like