SVN checkout operation
In the previous chapter, we created the repository runoob01, with URL svn://192.168.0.1/runoob01, and the svn user user01 has read and write permissions.
We can then use this URL to perform a checkout operation on the repository from the client.
svn checkout http://svn.server.com/svn/project_repo --username=user01 The above command will produce the following result:
root@runoob:~/svn# svn checkout svn://192.168.0.1/runoob01 --username=user01
A runoob01/trunk
A runoob01/branches
A runoob01/tags
Checked out revision 1.
After a successful checkout, the runoob01 copy directory is generated in the current directory. View the checked-out content
root@runoob:~/svn# ll runoob01/
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/
To view more information about the repository, run the info command.