Why we use Subversion (SVN) in web development
In most of the web development project there is more than one developer is working on their local machines. But at certain point of time they need to merge their individual work. The process is time consuming and chance of mistakes during merging. Or if someone need to setup an existing project in local machine or in different server it will again takes lots of time. Or someone needs to restore the previous work, so the developer need to maintain daily backup of the project separately this will take extra time and server space. So the solution is subversion in other words SVN.
Subversion (SVN) is a version control system used to maintain versions of files, such as source code, pages, documentation, images, etc. In this it will take files of different version (current and history) and find the differences and merge them together. On certain point of time the developer can restore the older version data.
Some basic SVN Commands:
| Command | Description |
| svn –help | List Subversion commands |
| svn add filename or directory | Add a file or directory to Subversion repository |
| svn commit –m “message” filename or directory
or svn commit –m “message” filename1, filename2, filename3
|
Check-in (commit) local “working” file, files or directory into Subversion repository |
| svn delete filename or directory | Remove file or directory from Subversion repository |
| svn diff filename | Shows file difference between SVN repository and local file. |
| svn status | Show status of file changes in current directory and sub-directory |
| svn update | Migrate all updates from Subversion repository to your local files of the current directory and sub-directory |
| svn checkout http://svnserver/repos/svn/trunk/Project1 | Creates “working” copy of files and directories in the current directory |
svn checkout http://svnserver/repos/svn/trunk/Project1 Creates “working” copy of files and directories in the current directory
Latest posts by rupak
- ECMAScript for XML: E4X - April 10th, 2012
- How to Theme profile2 module form - September 22nd, 2011
- How to render Map inside jquery tabs on tab click - August 24th, 2011
- Front-end page optimization - August 3rd, 2011

This post has one comment
September 11th, 2011
I’m confussed. Everyone talk about Git.
So why don’t you use Git?
I need some good reasons to use Subversion over Git.