Subversion HOWTO
From IthrynWiki
Contents |
Repositories
Accessing Repositories
There are different paths depending on the access method:
- Local: file:///hosts/ithryn/repos/svn/repo-name
- SSH: svn+ssh://ithryn.net/svn/repo-name
- Web (read-only): https://ithryn.net/svn/repo-name
Standard Repositories
There are several standardized Subversion repositories on Ithryn:
- ithryn-scripts-repo: Contains various system scripts
- tab-repo: Repository for the Tab backup system
- system: Backup of system files (secure, not part of svn group)
- software: Potential home for everything else
Importing a New Project
Projects in subversion are usually organized into three directories:
- project/trunk - Holds the mainline of development, usually compiles
- project/branches - Holds branches for the project (e.g., testing releases)
- project/tags - Holds the tags for the project (i.e., releases)
To import a new project, first create a directory structure as above:
new_project/branches
new_project/tags
new_project/trunk/
file1.c
file2.c
file3.c
svn import new_project svn+ssh://ithryn.net/svn/software/new_project -m "Initial checkin"
To checkout the working copy (the directory new_project must not already exist).
svn checkout svn+ssh://ithryn.net/svn/software/new_project/trunk new_project
