Talk:Subversion for Coders

From FreekiWiki
Jump to navigation Jump to search

I'm a bit confused.

Does this (on the server)...

cd /var/lib/svn
svnadmin create --fs-type fsfs PROJECT_NAME

... create the project in the wrong way and therefor we shouldn't do it?

Or do we do it, and then do this?

svn co svn+ssh://
svn mkdir trunk branches tags
svn commit -m 'set up control directories'

RfS 12:14, 9 Nov 2005 (PST)

You are right the second time. The first 2 lines are the only way to start creating a new subversion repository. Those following 4 lines set up the traditional "trunk branches tags" directories, completing the initial setup of the repository.

The misleading phrase "a different way" is trying to distinguish between the slightly-different checkout ("co") lines: The co line used once when setting things up the inital trunk directory;

 svn co svn+ssh://

The co line normally used (mentioned in the "Checking out" section), which fails miserably unless a trunk directly has already been set up:

 svn co svn+ssh://

Does that answer your question? What could you do to the article to clarify it? --DavidCary 00:11, 26 September 2007 (PDT)