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

Re: How to set up project directories--SVN book confusion

From: Olivier Sannier <obones_at_free.fr>
Date: Fri, 11 Apr 2008 14:06:30 +0200

Gregory Garretson wrote:
> I'm just getting started with Subversion, so please pardon this
> low-level question. I've read the Subversion book, which is generally
> excellent, but it has caused me to be confused about how to set up a
> project.
> In Chapter 5 on "Repository Administration", the book talks about the
> virtual filesystem in which data is stored. Then it goes on to discuss
> "directory hierarchies within the repositories themselves", and how
> you might want to set up your repository, with trunk, branch, and tags
> directories. What is not made clear is whether these are (a)
> directories in the svn virtual filesystem, or (b) directories in the
> actual OS filesystem (prior to checkout).
> If they are intended to really be OS directories, the description is
> very misleading, since it doesn't say where these should be in
> relation to all the other files in the repository, or whether you're
> meant to set them up elsewhere in the filesystem.
> If they are intended to be directories in the virtual filesystem,
> there is no dicussion of how to go about creating them. Going back to
> Chapter 2, "Basic Usage", there is a section called "Recommended
> repository layout", which is a summary of what is said in Chapter 5
> and sends you back there for further information. Then it goes on to
> tell you how to do a checkout, which presupposes that the repository
> has already been set up. There is a section on importing into a
> repository, but it doesn't respect the trunk-branches-tags advice
> given in the following section, so it's hard to see how those relate
> to each other.
> So, as briefly as I can phrase it, here is my question: What is the
> proper way to create from scratch an svn project using the
> trunk-branches-tags setup?
> Maybe I've missed something rather obvious. That's certainly possible;
> if so, please let me know.
> Thanks,
> Gregory

The folders need to be in the repository.
The way I do it is to create the repository, do a checkout of /, add the
trunk/tags/branches folders to it, commit the add, dump my working copy,
do a checkout of /trunk instead of /
This works just fine for me.
After all, those are just folders inside the repository; nothing more,
nothing less.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-11 14:07:39 CEST

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