SVN - Checkout Process


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

[tom@CentOS ~]$ svn checkout --username=tom

The above command will produce the following result.

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

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

[tom@CentOS trunk]$ pwd

[tom@CentOS trunk]$ svn info

The above command will produce the following result.

Path: .
Repository Root:
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]$ 

E-Books Store