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

Web Site Development and Trunk, Branches and Tags

From: Jay Smith <jaysmailinglist_at_gmail.com>
Date: Sun, 24 Feb 2008 10:33:01 -0500

Hi,

This is my first post and I am new to subversion.

I have a web site..... root dir is /usr/local/www, I created a repo for
it named www in /usr/local/repo/www.

This is where I get a little confused... initially I imported the contents
of /usr/local/www in to the www repo. Then after reading all the stuff about
getting the updated files to production (using update, export or cruise
control, etc.)... I started wondering how trunks, branches, and tags fit in
to the picture.

This is my current understanding how these directories work, please correct
me where I am wrong...

Trunks, branches, and tags aren't actually directories on my site, they are
directories in the repo...
After creating the dirs using svn make dir, I would have to import the
contents of /usr/local/www into /usr/local/repo/www/trunk...
The developers can create branches as necessary, but I would only copy
content from the trunk directory to the actual web site...
Tags are like snapshots, so they are the same size as the complete site (my
/usr/local/www is 5GB), each tag copy will be 5GB... which probably makes
tags impractical in my case....
If I use tags, I would copy the content from tags to the actual web site,
not trunk.
Using tags make it easier to backout....

Thanks,
Jay
Received on 2008-02-24 16:33:24 CET

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.