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

Can't create repository

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2004-09-03 05:11:24 CEST

I just solved this as I was typing it up as a question for the list. I
figure maybe someone can reword the book to be a bit more clear... or
if someone else gets stuck this might help.

I just downloaded subversion 1.1-rc2 and was following the instructions
in the subversion book (PDF download). The book says:

> Subversion stores all versioned data in a central repository. To
> begin, create a new repository:
> $ svnadmin create /path/to/repos
> $ ls /path/to/repos
> conf/ dav/ db/ format hooks/ locks/ README.txt
> This command creates a new directory /path/to/repos which contains a
> Subversion repository.

But when I issued the create command this happened:

$ svnadmin create ~/dev/subversion/repository
svn: Repository creation failed
svn: Could not create top-level directory
svn: Can't create directory
'/Users/scottpalmer/dev/subversion/repository': No such file or

The trouble shooting section of the book wasn't helpful.

It turns out that the statement "This command creates a new directory
/path/to/repos ..." is false. The create action will only create
"repos", the "/path/to" part must already exist.
In my example above only the "dev" folder was present. As soon as I
manually created the "subversion" directory all was well.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 05:12:37 2004

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