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

Re: repository question

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-26 22:05:40 CET

Jack Huang <HuangJ@masirv.com> writes:

> - How do I create a repository? Do I do like CVS, where I export a
> directory $CVSROOT, and all incoming adds will go into this directory?

Sorry, you're the Nth person to ask this question. I can't believe
the answer isn't in the INSTALL file. Karl is adding this to the
on-line FAQ right now...

ADDENDUM 1: Setting up the Repository Itself

If the repository you defined in step 8 doesn't already exist, you
will need to create it:

    % svnadmin create /absolute/path/to/repository

This creates an empty repository. Then you can import something into
it, either locally, or over dav:

    % svn import file:///absolute/path/to/repository /some/local/dir
    % svn import http://foo.com/repos/path /some/local/dir

The above examples import the contents of /some/local/dir right into
the root of the repository. If you want to put these contents into a
new repository directory, use *three* args to import. (Try 'svn help
import').

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:49 2006

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