Subversion is a Software versioning and a Revision control system. That is, Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older
versions of your data or examine the history of how your data changed
SVN Commands:
1.SVN Checkout / co:
This command is used to check out the project from the server (http://127.0.0.1/repos/test/). You should only need to do this once.
Command:
svn checkout âurlâ (or) svn co âurlâ
Example:
svn checkout http:// 127.0.0.1/repos/test
Ă If need to checkout 32 Revision files means
Command:
svn checkout âr 32 http:// 127.0.0.1/repos/test
option -r Ă Revision no
2.SVN Status:
This command prints the status of working directories and files. If you have made local changes
A: File to be added
C: Conflicting changes
D: File to be deleted
G: File to be merged with updates from server
M: File has been modified
R: File to be replaced
G: File to be merged
X: Resource is external to repository
?: File/directory not under version control
!: File/directory missing
~: Versioned item obstructed by some item of a different kind.
Command:
svn staus
3. SVN Revert/Switch:
To overwrite local file(s) with the one in the repository, do an “svn revert”–you would do this if you want to go back to the version of the file in the repository (you will lose all changes you had made since the last commit)
Command:
svn revert filename
4. SVN Commit:
Recursively sends your changes to the SVN server. It will commit changed files, added files, and deleted files. Note that you can commit a change to an individual file or changes to files in a specific directory path by adding the name of the file/directory to the end of the command. The -m option should always be used to pass a log message to the command. Please don’t use empty log messages (see later in this document the policy which governs the log messages).
Command:
svn commit âm âlog messageâ filename (or) svn ci âm
5. SVN Delete:
Delete file from repository. The UNIX command, ârm file-nameâ must perform a “commit” to update the repository and local working directory with the changes
Command:
svn delete filename(or)directory
also : del, remove or rm
then,
svn commit âm âlog msgâ
6. SVN DIFF:
Shows file difference between SVN repository and your file changes.
Command:
svn diff filename
svn diff -r rev1:rev2 filename
7. SVN Log:
Show the SVNlog messages for a set of revision(s) and/or file(s) and/or all directory contents in repository. Includes list of all files in change Shows the file changes associated with revision number.
Command:
svn log filename
svn log url
eGrove Systems Corporation is the leading Web Design and Development firm having a wide range of experience in all vertices like wordpress development, joomla development and we are expertise in developing full featured websites



