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

Re: Initial Import Error

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-26 22:04:26 CEST

On Wed, 2004-05-26 at 15:01, Weston Houghton wrote:

> [whoughton@evil ~]$ svn import /home/whoughton/test
> file:///home/whoughton/repo -m "initial trial"
> Adding /home/whoughton/test/trunk
> Adding /home/whoughton/test/trunk/blah.txt
> Adding /home/whoughton/test/branches
> Adding /home/whoughton/test/tags

This puts the contents of "/home/whoughton/test" into the root directory
of your repository. So your repository now looks like:

  /branches
  /tags
  /trunk
  /trunk/blah.txt

>
> Committed revision 1.
>
> So, to the best of my knowledge, this project should be in the
> repository now, but doing a list on the repository gives:
>
> [whoughton@evil ~]$ ll repo
> total 28
> drwxr-xr-x 2 whoughton root 4096 May 26 15:58 conf
> drwxr-xr-x 2 whoughton root 4096 May 26 15:58 dav
> drwxr-xr-x 2 whoughton root 4096 May 26 15:58 db
> -r--r--r-- 1 whoughton root 2 May 26 15:58 format
> drwxr-xr-x 2 whoughton root 4096 May 26 15:58 hooks
> drwxr-xr-x 2 whoughton root 4096 May 26 15:58 locks
> -rw-r--r-- 1 whoughton root 376 May 26 15:58 README.txt
>

The repository stores your files and directories in a BDB database. You
can't see them literally. You might want to read the Subversion book.
:-)

> nothing is there, and if I try to do a checkout of it:
>
> [whoughton_at_evil ~]$ svn checkout file:///home/whoughton/repo/test/trunk
> subversion/libsvn_client/checkout.c:95: (apr_err=170000)
> svn: URL 'file:///home/whoughton/repo/test/trunk' doesn't exist

See my first comment. The /test directory doesn't exist at the root of
your repository. You want to checkout file:///home/whoughton/repo/trunk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 26 22:09:32 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.