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

RE: trunk directory question from a CVS guy

From: Irvine, Chuck R [EQ] <Chuck.R.Irvine_at_Embarq.com>
Date: 2007-05-07 15:27:03 CEST

The convention is that "trunk" should be your top level project
directory. Eg:

Repo/
        trunk/
                src/
                etc/
        branches/
                br1/
                        src/
                        etc/
                br2/
                        src/
                        etc

From what you say below, though you don't really say, I'm guessing you
have something like:

Repo/
        /application
                trunk/
                br1/

And you are checking out at the "application" level. What you normally
do instead is check out either "trunk", "br1", or "br2". Note that the
name given to your top level directory upon checkout is configurable.

> -----Original Message-----
> From: Ennis, Tony [mailto:TEnnis@comdata.com]
> Sent: Thursday, May 03, 2007 8:34 AM
> To: 'users@subversion.tigris.org'
> Subject: trunk directory question from a CVS guy
>
>
> I am setting up my first SVN repository. I see in a lot of
> the docs that the SVN community recommends a "trunk"
> directory where the main line of the code lives. As per some
> 'how to be a newb' instructions, I created /trunk and
> imported my pre-existing java project into it.
>
> I created a new project from using Subclipse. Within
> Eclipse, the project now included a folder called "trunk"
> which contained all my files. Now I can see how this would
> happen, but is it normal in svn-managed projects to have the
> trunk directory in the project? Checking out from CVS
> doesn't create a folder called HEAD.
>
> It was trivial to get the app to compile and for the junit
> tests to go green so I know my project isn't too broken.
>
>
> -----------------------------------------
> IMPORTANT: The sender intends that this electronic message is
> for the exclusive use of the person to whom it is addressed.
> This message may contain information that is confidential. If
> the reader of this message is not an intended recipient, be
> aware that any disclosure, dissemination, distribution or
> copying of this communication, or the use of its contents, is
> prohibited. If you have received this message in error, then
> please immediately notify the sender of your inadvertent
> receipt and delete this message from all data storage
> systems. Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 7 15:27:20 2007

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