Showing posts with label tag. Show all posts
Showing posts with label tag. Show all posts

Subversion project tree structure is not like CVS

I've used CVS for many years but I've made a move to Subversion (Svn) a couple of years ago.
CVS and Svn share the concepts of main trunk, tag and branch, but in Svn, things are work a little different so I had to learn how to make tags and branches again.

The main differences rely on Svn structure,that specifies each on its own location:
  • {repository}/trunk/{project}
  • {repository}/tags/{project}
  • {repository}/branches/{project}
This is actually easy to learn and use.

The trunk is were the daily development goes. Here's a couple of examples:
svn://myserver.net/repository/trunk/msc-project
svn://myserver.net/repository/trunk/msc-thesis

The tags is where a tag goes. Here's the same example:
svn://myserver.net/repository/tags/msc-project-stable
svn://myserver.net/repository/tags/msc-thesis-revision1

The branches is where where a branch goes. Again, the same example:
svn://myserver.net/repository/branches/msc-project-v1
svn://myserver.net/repository/branches/msc-thesis-final

For more information about Svn, I advise the reading of Version Control with Subversion.

./M6