Subversion
From ALSwiki
Importing a new project
To import a project as a directory and have it show up under a repository with name <svn name>:
$ svn import <path-to-project-dir> http://<subversion url>/webworks/<svn name> -m"Import comment"
Then check it out so you actually have a subversion-enabled copy:
$ svn co http://<subversion url>/webworks/<svn name> <path to local directory>
Note:
- On import, the <path-to-project-directory> will NOT be included in the import. The files it contains will appear under the <svn name>.
- On checkout, the files under <svn name> will be checked out into the <path to local directory>
Example
$ svn import mysite.com http://svn.somewhere.org/webworks/MySite -m"Initial import."
Will create a new subversion path named MySite under the repository webworks. It will include all files in the directory mysite.com.
$ svn co http://svn.somewhere.org/webworks/MySite mysite.com
Will check out the entire contents of the imported directory and put all files under the local directory mysite.com

