Posts Tagged ‘scm’
Subversion (svn) is a source control management tool. Each time we have finished with a certain task, we will need to commit our work (files and folders) to svn server. Each commit, the svn server will record the log and give a revision number. So in a simple use, we always have a backup of each revision. We can always back to any revision number and never lost our work.
The other use of svn is for a team collaboration. Each team member can change any files without worrying to overwrite other team member work. Svn can automatically merge modified files by other team member. With the revision log, project manager can easily track the progress and performance of each team member.
One of the common use of subversion is to get the difference between revision. This difference is important to create a patch. In web development, like in PHP script, patch is important for users so they do not need to re-upload and reinstall everything from the beginning again. Just apply the patch and run an upgrade sql query.
Okay, back to the difference / patch, here is what I usually do with svn and trac.
1) Go to trac page, browse source, and visit the main folder. Then click revision log.
2) Select the revision number, start from which number and end from which number. Click View change.
3) Scroll down until end of file, click Zip Archive



