Aha ok, thanks for the lead.
I'm a cvs user, so I think I'm somewhat tainted by how it has me
trained, I've been going through the book, but I find it a little
lacking so far, though that is just as likely due to me looking in the
wrong place for the information.
So how do I do it if I want the test project to be one of many projects
I can check out of that single repository? Would I just add it
initially to the repository using:
svn import /home/whoughton/test file:///home/whoughton/repo/test -m
"initial trial"
and then checkout using:
svn checkout file:///home/whoughton/repo/test/trunk
??
Again, thanks much for the info, I really appreciate it. I knew svn
used the BDB but I thought that was just for versioning info, not for
the files themselves I guess. Good to know.
Wes
On May 26, 2004, at 4:04 PM, Ben Collins-Sussman wrote:
> 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@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:16:50 2004