Difference between revisions of "Talk:Subversion for Coders"
(Does that answer your question?) |
|||
Line 13: | Line 13: | ||
[[User:Rfs|RfS]] 12:14, 9 Nov 2005 (PST) | [[User:Rfs|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://dev.freegeek.org/svn/PROJECT_NAME/trunk | ||
+ | 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://dev.freegeek.org/svn/PROJECT_NAME | ||
+ | |||
+ | Does that answer your question? | ||
+ | What could you do to the article to clarify it? | ||
+ | --[[User:DavidCary|DavidCary]] 00:11, 26 September 2007 (PDT) |
Latest revision as of 00:11, 26 September 2007
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.freegeek.org/var/lib/svn/PROJECT_NAME cd PROJECT_NAME 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://dev.freegeek.org/svn/PROJECT_NAME/trunk
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://dev.freegeek.org/svn/PROJECT_NAME
Does that answer your question? What could you do to the article to clarify it? --DavidCary 00:11, 26 September 2007 (PDT)