[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

users-info@subversion.tigris.org

From: Robert Granville <rgranville_at_ll.mit.edu>
Date: 2005-02-11 16:38:52 CET

I'm having trouble running the Quick Start example in the Subversion book.
I'm running on a Windows XP platform, and have
installed Subversion 1.0.5. If I run svn --version, I get (among other things)

------------------------------------------------------------------------------------------------------
The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' schema
   - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' schema
------------------------------------------------------------------------------------------------------

If I run

------------------------------------------------------------------------------------------------------
svnadmin create c:\subversion\repository
------------------------------------------------------------------------------------------------------

the repository directory is created with the appropriate contents. But if I
then run

------------------------------------------------------------------------------------------------------
svn import c:\test\first file:///c:/subversion/repository -m "initial import"
------------------------------------------------------------------------------------------------------

I get the following error:

------------------------------------------------------------------------------------------------------
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///c:/subversion/repository'
------------------------------------------------------------------------------------------------------

However, if I then start a cygwin session, and I run

------------------------------------------------------------------------------------------------------
svn import /cygdrive/c/test/first file:///cygdrive/c/subversion/repository
-m "initial import"
------------------------------------------------------------------------------------------------------

I get

------------------------------------------------------------------------------------------------------
Adding /cygdrive/c/test/first/trunk
Adding /cygdrive/c/test/first/trunk/gamma
Adding (bin) /cygdrive/c/test/first/trunk/gamma/gamma.exe
Adding /cygdrive/c/test/first/trunk/gamma/gamma.c
Adding (bin) /cygdrive/c/test/first/trunk/alpha.exe
Adding /cygdrive/c/test/first/trunk/alpha.c
Adding /cygdrive/c/test/first/trunk/beta.txt
Adding /cygdrive/c/test/first/trunk/delta
Adding (bin) /cygdrive/c/test/first/trunk/delta/delta.exe
Adding /cygdrive/c/test/first/trunk/delta/delta.c
Adding /cygdrive/c/test/first/branches
Adding /cygdrive/c/test/first/tags

Committed revision 1.
------------------------------------------------------------------------------------------------------

To summarize, I can create an svn repository using the Windows command
prompt, put if I try to access it, I get a complaint that an ra_local
session for the URL can't be opened, even though svn -version says the
ra_local module is available. But on the same machine I can access the same
repository from a cygwin window. Does anyone know what I'm doing wrong?

Robert Granville
Received on Fri Feb 11 16:41:31 2005

This is an archived mail posted to the Subversion Users mailing list.