Command Line SVN Checkout
To get a "working copy" of the latest source files, you must check out the source files. The checkout process copies the files onto your system from the repository.
In your shell or terminal client, type:
#svn --version
svn, version 1.6.11 (r934486)
compiled Apr 11 2013, 17:28:04
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
# svn checkout https://machine.yourdomain.net:9443/svn/MainProjectName/Subproject/trunk --username yourusername
Error validating server certificate for 'machine.yourdomain.net:9443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: machine.yourdomain.net
- Valid: from Thu, 26 Oct 2006 14:46:48 GMT until Mon, 12 Jan 2015 14:46:48 GMT
- Issuer: Your Team, Your Company & Company, Your Ville, Your State, US
- Fingerprint: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Authentication realm: <https://machine.yourdomain.net:9443> Your Team Repository
Password for 'yourusername':
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
<https://machine.yourdomain.net:9443> Your Team Repository
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/yourusername/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
A trunk/deployments
A trunk/deployments/release
Checked out revision 5095.
#
Now do an ls command to see the checked out folder.
Go into the checked folder and do 'svn info' command to verify the checkout.
# ls
trunk
# cd trunk/
# svn info
Path: .
URL: https://machine.yourdomain.net:9443/svn/MainProjectName/Subproject/trunk
Repository Root: https://machine.yourdomain.net:9443/svn/MainProjectName
Repository UUID: eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee
Revision: 5095
Node Kind: directory
Schedule: normal
Last Changed Author: yourusername
Last Changed Rev: 5093
Last Changed Date: 2013-07-24 16:35:04 -0400 (Wed, 24 Jul 2013)