Tags

, , , , , , ,

svn mkdir <location>/<newFolderName>
To create a new folder in the repository

svn add <folderName>

Add new folder/file to repository upload list. Note : This does not upload the file/folder to the repository, for this we need to commit, but before that the file/fodler need to be added in the upload ready list, which is done with this command.

svn info
[Result::
Path: .
URL: <location of svn folder>
Repository Root: <location of root folder>
Repository UUID: 9b018a3b-b947-0410-ad45-93b5e5e26201
Revision: 6586
Node Kind: directory
Schedule: normal
Last Changed Author: john
Last Changed Rev: 6586
Last Changed Date: 2013-04-03 17:34:26 +0530 (Wed, 03 Apr 2013)
]
Details regarding the repository.

svn co. This command is used to pull an SVN tree
$ svn checkout/co URL PATH

svn add : Add to SVN server. This will not reflect in the server until an svn commit is done.

svn delete : Delete from SVN, but this should be followed by SVN commit

svn status : prints the status of working directories and files
$ svn status PATH

svn update : syncs your local sand box with the server.
$ svn update PATH

svn commit : recursively sends your changes to the SVN server.
$ svn commit -m “log messages”
$ svn commit -m “Making the file empty” svn-commands
Sending svn-commands
Transmitting file data .
Committed revision 813.

svn diff: eg : svn diff -r 168:169 index.xml will output a diff showing the changes between revisions 168 and 169 of index.xml

svn move : move file from one loc to another in same SVN

svn list : lists the content oy SVN repo
$ svn list

svn log – Display log message
$ svn log PATH

Advertisements