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

Re: svn_error: #21055

From: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-04-17 14:38:18 CEST

Sam TH <sam@uchicago.edu> writes:
> In an attempt to get back in the swing of things here, I built the
> latest subversion from cvs, and attempted to do some stuff. However,
> I could neither create a repository, nor check out from one.

To create an empty repository (just a dir with some db3 files), you
must use the 'svnadmin' tool.

> First, I tried running update in the wc's created by the python
> suite. But they don't have a real repository.

The python tests are just ports of our XML i/o test scripts right
now... they'll be expanded soon.

> Then I tried importing something. That's when I got this error:
> svn_error: #21055 Unrecognized URL scheme:
> file:///home/sam/projects/svn-repos

Import won't create repository. It's just a way of adding files to an
already-existing one.

    svn import file:///path/to/repos somedir name-of-dir-in-repos

But Kevin is right. "Unrecognized URL scheme" that you never built
libsvn_ra_local, because ./configure didn't find Berkeley DB.

If you run `svn --version`, it will *tell* you which RA modules were
built. (And this has nothing to do with whether you built statically,
or whether you built dynamically and did a `make install`. The latter
is only necessary if you want to run an svn-aware Apache on your box.)

bash-2.04$ svn --version

Subversion, version M2 (pre-alpha) (client)

Copyright (C) 2000-2001 CollabNet. All rights reserved.

Subversion is released under CollabNet's open source license,
which is available at http://subversion.tigris.org

The following repository access (RA) modules are available:

* ra_dav : handles 'http' schema
 (Module for accessing a repository via WebDAV (DeltaV) protocol.)
* ra_local : handles 'file' schema
 (Module for accessing a repository on local disk.)

> Then, I copied one of the repositories created by the C test suite,
> and tried to check out from it. But I couldn't specify the repository
> to check out from, for the same reason.

Well, if you have no db3, then subversion/tests/libsvn_fs/fs-test.c
never compiled or ran tests to begin with. What repositories are you
talking about?? :)
Received on Sat Oct 21 14:36:28 2006

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