1
I’m trying to follow the Quick-start, to execute the following commands and create the local SVN repository:
$ mkdir -p $HOME/.svnrepos/
$ svnadmin create ~/.svnrepos/my-repos
$ svn mkdir -m "Create directory structure." file://$HOME/.svnrepos/my-repos/trunk file://$HOME/.svnrepos/my-repos/branches file://$HOME/.svnrepos/my-repos/tags
$ cd my-directory
$ svn checkout file://$HOME/.svnrepos/my-repos/trunk ./
$ svn add --force ./
$ svn commit -m "Initial import"
$ svn up
Where, $HOME here is "/home/Danilo". Because in the "/home" by default of the installation are the folders of each user.
Hence it gives error when I run "svn mkdir". That is, in the third step. As follows:
svn mkdir -m "Create directory structure." file://$HOME/danilo/.svnrepos/my-repos/trunk file://$HOME/danilo/.svnrepos/my-repos/branches file://$HOME/danilo/.svnrepos/my-repos/tags
svn: E180001: Unable to connect to a repository at URL 'file:///home/danilo/danilo/.svnrepos/my-repos'
svn: E180001: Não foi possível abrir uma sessão ra_local para URL
svn: E180001: Não foi possível abrir repositório 'file:///home/danilo/danilo/.svnrepos/my-repos'
Have you tried without the
file://
in front?– Leonel Sanches da Silva