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

Re: Beginner question on trunks, branches and tags

From: Milen A. Radev <milen_at_radev.net>
Date: 2006-03-19 18:29:31 CET

On 19/03/06, Jeff Brewer <jeff@3brewers.org> wrote:
>
> I'm trying to configure my Tortoise installation to begin using it with on
> of my web projects. I've installed tortoise and have tried creating
> repositories and it "seems" to be working more or less.
>
> I'm now ready to set up a repository to hold one of my web projects but I
> don't understand the trunks/branches/tags directory structure that I'm
> supposed to create in the repository.
>
> I've got an existing directory structure for my (very simple) web project
> which is a directory containing all of my html pages and a single
> sub-directory containing image files.
>
> In reading through the manual I'm confused about whether I should create a
> new directory structure that consists of three directories (trunks, branches
> and tags). Do I move my web directory into one or more of these directories?
> Am I supposed to maintain a production copy of the website in one of the
> directories (e.g. the trunk?) and put other development copies of the
> website under the branches and/or tags directory?
>
> I've read the manual through a couple of times but get the feeling I'm
> missing a chapter or something.
>
> If you're not rolling on the floor laughing TOO hard would you suggest
> something to nudge me in the right direction?

I presume you've read the appropriate chapters in the SVN Book -
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.projects.html#svn.reposadmin.projects.chooselayout?

OK, most of that applies to fairly big projects. In your case you
could just forget about those directories. But if you are not sure how
your simple (now) web project could wind up, create "tags", "branches"
and "trunk" in the repository, import all files and subdirs from your
web project dir in the "trunk", rename the project dir, create a new
dir with the old name, checkout the "trunk" in it and continue your
work.

--
Milen A. Radev
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Mar 19 18:29:39 2006

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