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

repository directories layout

From: H.S. <hs.samix_at_gmail.com>
Date: 2007-05-10 05:37:46 CEST

Hello,

I have just started to use Subversion (changed over from CVS) and wanted
some clarifications regarding the directories layout.

I have searched google and it is a common suggestion to have trunk,
branches and tags directories in the repository:

RepoName
    tags
    trunk
    branches

Now, what I did was, first created the repo RepoName with svnadmin
command and then made the three directories using svn mkdir commands. I
then checkout the repo into my local machine, and then copied the source
code into trunk directory and then added all the files in that directory
to the repo. Then I committed the repo back. I can then checkout the
repo and I get the directory with repo name and the three directories
(where trunk has the source code). Am I doing it right? If yes, then
other programmers just make their changes in the source files in the
trunk directory and commit their changes back?

The other method I understand is to create the three directories in a
local directory. Put all the source files in trunk directory and then
create the repository with all the three directories in that.

Are both the methods equivalent as far as the directory structure is
concerned?

If you can give some other pointers regarding creating the new
repositories (I checked the red book, it talks about the directory
structure but doesn't give an example showing exactly what to commit
while creating the repo), that would be an added bonus.

thanks,
->HS

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 10 06:10:25 2007

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.