Game Development Community

Subversion\TortoiseSVN

by Jeremy Easoz · in Technical Issues · 06/23/2008 (9:09 am) · 2 replies

I have a quick question.
I'm pretty new to version control.
On my latest project I have

\Project Folder
                      \Branches\
                      \Tags\
                      \Trunk\
                       \Trunk\Project\

I want to try something with the trunk without damaging the trunk (branch?)
How would I go about doing that?

#1
06/23/2008 (12:10 pm)
I'm slightly confused by Trunk/Project [seems redundant, since "Project" is also in the top level dir]. But the short version of what you generally want is:

svn cp file:///path/project/trunk file:///path/project/branches/name-of-branch/

Then do
svn co file:///path/project/brances/name-of-branch/ ./name-of-branch/

Later on, you'll do
svn merge file:///path/project/brances/name-of-branch/ file:///path/project/trunk/

There's about ten thousand more interesting and complicated ways to do it, I cannot highly enough suggest you take a look at the red book, which includes freely downloadable versions.

Gary (-;
#2
06/27/2008 (1:05 pm)
Well trunk actually has 2 folders Engine(tgb engine source) and Projects(game and scripts)