Pragmatic Version Control: With CVS

Pragmatic Version Control: With CVS

Paperback

$29.95

Temporarily Out of Stock Online

Eligible for FREE SHIPPING

Overview

Pragmatic Version Control: With CVS by Dave Thomas, Andy Hunt

This book is a recipe-based approach to using the CVS Version Control system that will get you up and running quickly—and correctly. All projects need version control: it's a foundational piece of any project's infrastructure. Yet half of all project teams in the U.S. don't use any version control at all. Many others don't use it well, and end up experiencing time-consuming problems.Version Control, done well, is your "undo" button for the project: nothing is final, and mistakes are easily rolled back. With version control, you'll never again lose a good idea because someone overwrote your file edits. You can always find out easily who made what changes to the source code—and why. Version control is a project-wide time machine. Dial in a date and see exactly what the entire project looked like yesterday, last Tuesday, or even last year.This book describes a practical, easy-to-follow way of using CVS, the most commonly used version control system in the world (and it's available for free). Instead of presenting the grand Theory of Version Control and describing every possible option (whether you'd ever use it or not), this book focuses on the practical application of CVS. It builds a set of examples of use that parallel the life of typical projects, showing you how to adopt and then enhance your pragmatic use of CVS.With this book, you can:

  • Keep project all assets (not just source code) safe, and never run the risk of losing a great idea
  • Know how to undo bad decisions—no matter when they were made
  • Learn how to share code safely, and work in parallel for maximum efficiency
  • See how to avoid costly code freezes
  • Manage 3rd party code
Now there's no excuse not to use professional-grade version control.

Product Details

ISBN-13: 9780974514000
Publisher: Pragmatic Programmers, LLC, The
Publication date: 09/28/2003
Series: Pragmatic Programmers Series
Pages: 176
Product dimensions: 7.48(w) x 8.90(h) x 0.63(d)

About the Author

Dave Thomas, as one of the authors of the Agile Manifesto, understands agility. As the author of "Programming Ruby," he understands Ruby. And, as an active Rails developer, he knows Rails.

Andy Hunt is a programmer turned consultant, author and publisher. He co-authored the best-selling book “The Pragmatic Programmer”, was one of the 17 founders of the Agile Alliance, and co-founded the Pragmatic Bookshelf, publishing award-winning and critically acclaimed books for software developers.

Table of Contents

About the Starter Kitxi
Prefacexiii
1Introduction1
1.1Version Control in Action2
1.2Roadmap6
2What Is Version Control?7
2.1The Repository7
2.2What Should We Store?9
2.3Workspaces and Manipulating Files11
2.4Projects, Modules, and Files12
2.5Where Do Versions Come In?13
2.6Tags15
2.7Branches16
2.8Merging18
2.9Locking Options19
2.10Configuration Management (CM)23
3Getting Started25
3.1Installing CVS25
3.2Creating a Repository30
3.3CVS Commands31
3.4Creating a Simple Project32
3.5Starting to Work With a Project34
3.6Making Changes36
3.7Updating the Repository38
3.8When Worlds Collide39
3.9Conflict Resolution41
4How To...47
4.1Our Basic Philosophy48
4.2Organizing a Version Control System48
5Accessing the Repository51
5.1Security and User Accounts53
5.2CVSROOT: The Destination Parameter String54
5.3Setting up ssh Access56
5.4Connecting Using pserver57
6Common CVS Commands59
6.1Checking Things Out59
6.2Keeping Up To Date62
6.3Adding Files and Directories65
6.4Ignoring Certain Files70
6.5Renaming Files71
6.6Renaming a Directory73
6.7Seeing What's Changed74
6.8Handling Merge Conflicts78
6.9Committing Changes82
6.10Examining Change History83
6.11Removing a Change86
7Using Tags and Branches91
7.1Tags, Branches and Tagging92
7.2Creating a Release Branch94
7.3Working in a Release Branch96
7.4Generating a Release97
7.5Fixing Bugs in a Release Branch99
7.6Developer Experimental Branches100
7.7Working With Experimental Code102
7.8Merging The Experimental Branch102
8Creating a Project103
8.1Creating the Initial Project104
8.2Structure Within the Project106
9Using Modules111
9.1Subprojects the Easy Way112
9.2CVS Modules116
9.3Summary122
10Third-Party Code123
10.1Libraries With Source Code126
10.2Modifying Third-Party Code130
ACVS Summary and Recipes139
A.1CVS Command Format139
A.2Recipes148
BOther Resources151
B.1Online CVS Resources151
B.2Other CVS Books151
B.3Other Version Control Systems152
B.4Bibliography153

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews