Web Hosting Talk







View Full Version : Subversion Help


ThatScriptGuy
02-14-2007, 05:10 PM
I'm new to the scene of subversion repositories, and I've got a few questions...

1. Right now, every time I commit a group of changes, the revision increases by 1. (5 to 6, 6 to 7, etc...) Is this the standard behavior? I guess I was expecting something like 1.1 and 1.2 or something similar.

2. Any good tutorials on good svn practices?

3. Any svn-like utility for databases as well, or do I need to keep backing up the DB every time I make a table structure alteration?

Thanks.

Olate
02-16-2007, 09:36 AM
1. Yes revisions are whole numbers. You may be able to change this, but the revision number is usually kept separate from the version number. To handle versions you would make use of branches and tags.

2. http://svnbook.red-bean.com/en/1.2/index.html is very detailed and the section at http://svnbook.red-bean.com/en/1.2/svn.branchmerge.html explains how to use branches properly

3. No - source control is designed to show changes in files, usually text files. You'll need to dump the DB structure then commit to SVN.