Why must I use local path rather than 'svn://' with SVN bindings?

Posted by Chad Johnson on Stack Overflow See other posts from Stack Overflow or by Chad Johnson
Published on 2010-03-13T23:55:39Z Indexed on 2010/03/14 0:05 UTC
Read the original article Hit count: 159

Filed under:
|
|

I'm using the Ruby SVN bindings built with SWIG. Here's a little tutorial.

When I do this

@repository = Svn::Repos.open('/path/to/repository')

I can access the repository fine. But when I do this

@repository = Svn::Repos.open('svn://localhost/some/path')

It fails with

/SourceCache/subversion/subversion-35/subversion/subversion/libsvn_subr/io.c:2710: 2: Can't open file 'svn://localhost/format': No such file or directory

When I do this from the command line, I do get output

svn ls svn://localhost/some/path

Any ideas why I can't use the svn:// protocol?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about swig