You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Scott Palmer <sc...@2connected.org> on 2004/09/03 03:11:24 UTC
Can't create repository
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
directory
$
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.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org