Prev | Current Page 274 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

To create the
repository for places we need to type the following command:
svnadmin create /path/to/repository/places/
The subversion project officially recommends setting up three directories, trunk/, tags/ and branches/
under any number of project roots. The trunk is fairly obviously the main directory where the bulk of the
action takes place. The tag directory holds meaningfully "tagged" copies such as for example if we decided to
mark a stage in the development of places in the context of the writing of this book:
$ svn copy http://svn.example.com/svn/places/trunk \
http://svn.example.com/svn/places/tags/chapter-04 \
-m "Tagging places as snapshot of development at chapter 4."
The branches/ directory holds "branched" copies of the filesystem such as those created if we decided we
needed to experiment with a significant change to the architecture of "places". We'll cover branching in a little
more detail further on in this chapter.
Since we are setting these directories up locally and we want them to be under version control we'll do so
using the svn mkdir command:
$ cd /path/to/svn/places/
$ svn mkdir trunk
$ svn mkdir tags
$ svn mkdir branches
Having created the relevant directories we can then import the partial project we had started:
$ svn import /path/to/places file:////path/to/svn/places/trunk/ \
-m "Initial import"
Adding places/web_root/index.


Pages:
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
doktorat lampy ogrodowe określić zakłady bukmacherskie Wczasy nad morzem