Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I created folders /tags, /branches and /trunk on SVN server. I put initial project file into /trunk. But other folders confuses me.

What should I put in /tags? I see most people do not ever use this folder. Is this like a temp folder or so?

As I understood, the purpose of branches is to host a different versions. So I will have /branches/myapp_v1.0.0, /branches/myapp_v1.0.1, etc. Right?

If this is true, how do I "tell" subversion tool (tortoise on windows, svn on linux) to upload project files into such and such folder?

share|improve this question
2  
It's sort of convention. Here you can find a good answer for that: stackoverflow.com/questions/16142/… –  Simon Tremblay Nov 19 '12 at 16:17

1 Answer 1

up vote 4 down vote accepted

You have to read SVN Book, at least "Fundamental Concepts" and "Basic Usage"

In short: "Recommended Repository Layout" chapter tells us

...flexibility also means that it's easy to find yourself “lost without a roadmap” as you attempt to navigate different Subversion repositories which may carry completely different and unpredictable arrangements of the data within them.

To counteract this confusion, we recommend that you follow a repository layout convention (established long ago, in the nascency of the Subversion project itself) in which a handful of strategically named Subversion repository directories convey valuable meaning about the data they hold. Most projects have a recognizable “main line”, or trunk, of development; some branches, which are divergent copies of development lines; and some tags, which are named, stable snapshots of a particular line of development.

share|improve this answer
    
This may also help to clarify things: svnbook.red-bean.com/en/1.7/svn.reposadmin.planning.html –  bahrep Nov 29 '12 at 12:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.