You are not logged in.
Hi,
I've got no experience with Subversion. All I want for now is to set up a local Subversion repository, as required by Eric tutorial. There's no Wiki article about configuring svnserve; I tried to follow a short guide here.
Here's what I managed to do:
(1) Create a repository:
$ pwd
/home/user/svn/repos
$ svnadmin create LogParser
$ cd LogParser
$ ls
README.txt conf db format hooks locks
Then I edited the repo config files in the /home/user/svn/repos/LogParser/conf directory, as here; nothing very special, or so it looks like . after that,
# /etc/rc.d/svnserve start
:: Starting svnserve [DONE]
Eric IDE says, when I try to use Subversion:
svn: No repository found in 'svn://localhost'
I've no idea what to do next. Any suggestions?
Last edited by Llama (2008-11-06 14:23:34)
Offline
I think you have to start svnserve with the -r option to tell it where the repository root is located.
If you just want to play around and your repository is located in the local filesystem you can access it there:
file:///home/user/svn/repos/logparser
Last edited by Garns (2008-11-05 13:01:01)
Offline
I think you have to start svnserve with the -r option to tell it where the repository root is located.
I used to think so too! But as soon as I try options, it says:
# /etc/rc.d/svnserve -d -r ...
usage: /etc/rc.d/svnserve start/stop/restart
#
That's where I got stuck .
Offline
There's a wiki article:
http://wiki.archlinux.org/index.php/Subversion_Setup
Offline
This Wiki article is about svn+apache; I just want to start svnserve correctly.
Offline
Have you tried the method that Garns has suggested? As he has mentioned before, you can access a local repository via the file:// protocol.
AFAICT svn should do the rest then.
The courageous enter dark caves alone.
The clever send in the courageous first.
The cleverest wait behind the clever.
Offline
That is, you suggest using file:// protocol, instead of svn:// ? At least, no errors, though I'd wish I understood more...
Offline
Take a look at /etc/conf.d/svnserve
Offline
That is, you suggest using file:// protocol, instead of svn:// ? At least, no errors, though I'd wish I understood more...
Glad that it seems to work.
Those kinds of wishes are our favorites to fulfill.
A great start is ~the~ SVN book. It is well written, and you can really learn from it. The part about SVN Repository URLs is what you are looking for at the moment (hint: also take a look at the table there).
The courageous enter dark caves alone.
The clever send in the courageous first.
The cleverest wait behind the clever.
Offline
Take a look at /etc/conf.d/svnserve
I did take a look at /etc/conf.d/svnserve.
Here's the exact sequence of my actions:
Editing /etc/conf.d/svnserve:
#
# Parameters to be passed to svnserve
#
#SVNSERVE_ARGS="-r /path/to/some/repos"
SVNSERVE_ARGS="-r /home/alexey/svn/repos"#SVNSERVE_USER="svn"
$ mkdir -p /home/alexey/svn/repos
$ cd /home/alexey/svn/repos
$ svnadmin create logparser
$ ls
logparser
# /etc/rc.d/svnserve start
:: Starting svnserve [DONE]
$ svn checkout svn://localhost/
svn: No repository found in 'svn://localhost'
I also tried
SVNSERVE_ARGS="-d -r /home/alexey/svn/repos"
and checkout from root; no difference.
Any suggestions? There's all but nothing on the Web on this particular subject; there are very few references to gentoo-wiki, but the Wiki is down! . Help, please!
Offline
svn://localhost points to /home/alexey/repos which isn't a repo
try
svn://localhost/logparser
Offline
That's it! Thanks!
Offline