开发者

using svn://localhost/repos works fine. using svn+ssh://localhost/repos: got No repository found

i am setting up a svn repository. everything got ready. when i typed svn list svn://localhost/repos/, it showed 开发者_如何学Gothe repository correctly. when i typed svn list svn+ssh://localhost/repos, it said svn: No repository found in 'svn+ssh://localhost/repos/ktbdbms'

user account and password all correct.

do i miss anything?

Thanks


You need to read up a bit more about using svn:// vs svn+ssh://, here in SVN book. Connecting to localhost, on your machine, with svnserve is relatively easy, setting up svn+ssh:// is a bit more complicated and requires careful planning. Read the book and set it up, if you want to.


svn+ssh uses svnserve. if you do a pgrep for svnserve it is likely run with -r /path/to/repos and the repository on the filesystem would be /path/to/repos/ktbdbms

a common solution is to move svnserve to svnserve.bin and create a bash script named svnserve which runs:

#!/bin/bash
svnserve -r /path/to/repos $*
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜