SVN Checkout Operation
In the previous chapter, we created the repository example01 with URL svn://192.168.0.1/example01, and the svn user user01 has read and write permissions.
We can use this URL on the client to perform a checkout operation on the repository.
svn checkout http://svn.server.com/svn/project_repo --username=user01 The above command will produce the following result:
root@example:~/svn# svn checkout svn://192.168.0.1/example01 --username=user01 A example01/trunk A example01/branches A example01/tags Checked out revision 1.
After a successful checkout, a example01 copy directory is generated in the current directory. View the checked out content.
root@example:~/svn# ll example01/ total 24 drwxr-xr-x 6 root root 4096 Jul 21 19:19 ./ drwxr-xr-x 3 root root 4096 Jul 21 19:10 ../ drwxr-xr-x 2 root root 4096 Jul 21 19:19 branches/ drwxr-xr-x 4 root root 4096 Jul 21 19:19 .svn/ drwxr-xr-x 2 root root 4096 Jul 21 19:19 tags/ drwxr-xr-x 2 root root 4096 Jul 21 19:19 trunk/
If you want to see more information about the repository, run the info command.
Other Extensions