Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 232 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
232
Dung lượng
2,03 MB
Nội dung
[...]... information and more in-depth discussion on using Subversion: Networking, securing, and backing up your repository Migrating to SubversionUsing Third-party Subversion tools Summary of recipes and Subversion commands Using other resources available on the Internet 1.3 Why Choose Subversion Whilst this book is about versioncontrol in general, were choosing to focus on Subversion as our tool of choice Since... terminology of versioncontrol systems Many versioncontrol systems are available from which to choose In this book were going to focus on Subversion, an open-source tool available for free over the internet Subversion is the successor to CVS, which is itself one of the most popular versioncontrol systems available Chapter 3, Getting Started with Subversion, is a tutorial introduction to using Subversion. .. tutorial introduction to usingSubversion The remainder of the book is a set of recipes for usingSubversion in projects, divided into six main chapters Each chapter contains a number of recipes: Connecting to Subversion in different ways Using common Subversion commands Organizing les inside SubversionUsing tags and branches to handle releases and experimental code Creating a project Handling... development process using versioncontrolVersion control, sometimes called source code control, is the rst leg of our project support tripod We view the use of versioncontrol as mandatory on all projects Versioncontrol offers many advantages to both teams and individuals: It gives the team a project-wide undo button; nothing is nal, and mistakes are easily rolled back Imagine youre using the worlds... high-performance, modern versioncontrol system Their goal was not to create a radical new paradigm in version controlthe CVS development model had proven highly successfulbut to replace CVS with a new system that xed all of CVSs wrinkles This might not sound like Subversion is anything groundbreaking, but bear in mind that CVS is already miles ahead of many other versioncontrol tools Subversions feature... as named directories within Subversion; you create a branch simply by copying the trunk to a new location Subversions internals use lazy copies to make this copying process efcient, and these lazy copies are the basis of Subversions tagging support too Whenever you copy a le or directory, Subversion simply stores a link to the original When you make a change to the copy, Subversion records those changes... to another machine once Subversion has proven itself revision revision number 8 Chapter 2 What is Version Control? A version control system is a place to store all the various revisions of the stuff you write while developing an application Theyre basically very simple Unfortunately, over the years, people have started using different terms for the various components of version control And this can lead... signicant number of different versioncontrol tools are available, its probably worth mentioning why youd want to pick Subversion 6 W HY C HOOSE S UBVERSION The Subversion project was started by a team of developers who had extensive experience with CVS (some of them had literally written books on the subject) but who had decided the time had come to replace the aging system The Subversion developers were... talking about version control And thats largely true; the practices of CM rely very heavily on having good version control in place But versioncontrol is just one tool used by conguration management CM is a set of project management practices that enables you to accurately and reproducibly deliver software It uses versioncontrol to achieve its technical goals but also uses a lot of human controls and... will hold both the original version and the version that contains your changes In reality, most versioncontrol systems store the differences between versions of a le, rather than complete copies of each revision Subversion stores the full text for the newest revision of a le, as well as cleverly picking historical revisions to store in full, so that it can retrieve any version of a le quickly This . about
Pragmatic Version Control using Subversion
I expected a lot, but you surprised me with even more. Hav-
ing used CVS for years I hesitated to try Subversion. recipes:
• Connecting to Subversion in different ways
• Using common Subversion commands
• Organizing files inside Subversion
• Using tags and branches to