Later we will look at manually specifying
these messages.
Before we check out the trunk, let's have another look at the repository information:
$ svn info http://projects.example.com/svn/sandbox
Path: sandbox
URL: http://projects.example.com/svn/sandbox
Repository Root: http://projects.example.com/svn/sandbox
Repository UUID: 677246c4-9c0b-4019-ac6e-f268985e4c37
Revision: 1
Node Kind: directory
Last Changed Author: user@example.com
Last Changed Rev: 1
Last Changed Date: 2007-08-11 14:01:20 +0100 (Sat, 11 Aug 2007)
The highlighted text shows that the Revision number of the repository has increased
by one.
Version Control 101
[ 62 ]
Now we can check out a copy of the trunk.
3. Type:
svn checkout http://servername/svn/sandbox/trunk sandbox
and press Enter.
This will check out a copy of the trunk into a folder called sandbox (which we are
storing in our local projects folder).
Too much typing
By the end of this chapter we will be sick of typing long Subversion
commands. Fortunately it supports shortcuts for some commands, for
e.g. co for checkout and ci for checkin. Run svn help to see a list of
available commands and their shortcuts (shown in parentheses).
After Subversion has told us which revision we have checked out (Revision 1 in this
case), we can run the information command against our working copy.
Pages:
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89