Page 1 of 1

Question about Subversion

Posted: Thu Jun 01, 2006 5:18 pm
by nielsene
I'm looking into switching from CVS to Subversion for several projects. The first project is a small local project that I started this weekend and is not currently under version control; once I get familiar with SVN, I'll migrate existing CVS managed projects.

However I'm slightly confused as to the recommended way to import a new project into SVN.

Lets say I have an existing directory/project structure under /usr/local/my-project,

I have created the SVN repository.

I want to import my existing source into a "standard" trunk, tags, branches SVN layout.

I think I'm supposed to create a new temporary directory structure:
/usr/local/tmp/my-project/trunk/ existing source directory
/tags/
/branches/

and then run the SVN import command?

I know that I can re-arrange things if I have to using svn rename, etc, however I'ld like to get started cleanly if possible.

Am I outlining a correct procedure?

Posted: Thu Jun 01, 2006 5:43 pm
by Weirdan
I think I'm supposed to create a new temporary directory structure:
/usr/local/tmp/my-project/trunk/ existing source directory
/tags/
/branches/
svn book by O'Reilly recommends to do so