Ubuntu: Create local svn repo / URL?



Question:

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?


Solution:1

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


Solution:2

Just found out it is reachable under file///home/myUsername/svn/MyProject. Enough if only used locally.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »