SVN Checkout Process

Advertisements


Subversion provides checkout command to check out a working copy from a repository. Below command will create new directory in current working directory with name project_repo. Don't bother about repository URL, most of the time it is already provided by Subversion administrator with appropriate access.

[tom@CentOS ~]$ svn checkout http://svn.server.com/svn/project_repo --username=tom

Above command will produce following result

A    project_repo/trunk
A    project_repo/branches
A    project_repo/tags
Checked out revision 1.

After every successful checkout operation; revision number will get printed. If you want to view more information about the repository. Then execute info command.

[tom@CentOS trunk]$ pwd
/home/tom/project_repo/trunk

[tom@CentOS trunk]$ svn info

Above command will produce following result

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]$ 


Advertisements
Advertisements