May 25, 2021 SVN
SVN provides a checkout command to check out a working copy from the repository. T he following command creates a new folder in the current working copy project_repo the folder. Don't worry about what the URL address of the repository is, most of the time, the SVN administrator will provide you with the address and access.
[tom@CentOS ~]$ svn checkout http://svn.server.com/svn/project_repo --username=tom
The above command will produce the following results:
A project_repo/trunk
A project_repo/branches
A project_repo/tags
Checked out revision 1.
After each successful commit, the revision number is displayed. If you want to see more about the repository, execute the info command.
[tom@CentOS trunk]$ pwd
/home/tom/project_repo/trunk
[tom@CentOS trunk]$ svn info
The above command will produce the following results:
Path: .
URL: http://svn.server.com/svn/project_repo/trunk
Repository Root: http://svn.server.com/svn/project_repo
Repository UUID: 7ceef8cb-3799-40dd-a067-c216ec2e5247
Revision: 1
Node Kind: directory
Schedule: normal
Last Changed Author: jerry
Last Changed Rev: 0
Last Changed Date: 2013-08-24 18:15:52 +0530 (Sat, 24 Aug 2013)
[tom@CentOS trunk]$