Pub. Date:
Pragmatic Guide to Subversion

Pragmatic Guide to Subversion

by Mike Mason


View All Available Formats & Editions
Choose Expedited Shipping at checkout for delivery by Thursday, September 23


Subversion is the most popular open-source version control system on the planet. Development teams-big and small, enterprise and open source-use this fast, feature-rich tool daily. Pragmatic Guide to Subversion presents the 48 essential tasks you need to know. It's your shortcut to the Subversion master's recommended set of best practices. With this book, you can get to the good parts quickly, and be more productive and effective.

Related collections and offers

Product Details

ISBN-13: 9781934356616
Publisher: The Pragmatic Programmers, LLC
Publication date: 12/05/2010
Series: Pragmatic Programmers
Pages: 150
Product dimensions: 6.00(w) x 8.90(h) x 0.60(d)

About the Author

Mike Mason is an Agile Architect with ThoughtWorks where he builds mission critical systems for Fortune 500 clients. Mike has been using Subversion for more than eight years and he has watched it evolve from an excellent-but-niche tool to being an enterprise standard in version control. Mike is the author of Pragmatic Version Control using Subversion.

Table of Contents

Acknowledgments xi

Introduction xiii

Who Is This Book For? xiv

How to Read This Book xv

Subversion Versions xvi

Online Resources xvi

I Getting Started 1

Task 1 Installing a Command-Line Client 6

Task 2 Installing a Graphical Client on Windows 8

Task 3 Installing a Graphical Client on Mac OS X 10

Task 4 Creating a Local Repository 12

Task 5 Creating an Empty Project 14

Task 6 Creating a Project from an Existing Source Tree 16

II Working with Subversion 19

Task 7 Checking Out a Working Copy 24

Task 8 Seeing What You've Changed 26

Task 9 Seeing What you've Changed Using Tortoise 28

Task 10 Seeing What You've Changed Using Cornerstone 30

Task 11 Committing Changes 32

Task 12 Adding Files and Directories 34

Task 13 Removing Files and Directories 36

Task 14 Moving and Renaming Files and Directories 38

Task 15 Reverting Working Copy Changes 40

Task 16 Ignoring Files 42

III Working with a Team 45

Task 17 Updating to the Latest Revision 50

Task 18 Handling Conflicts 52

Task 19 Handling Conflicts Using Tortoise 54

Task 20 Handling Conflicts Using Cornerstone 56

IV Using the History 59

Task 21 Viewing the Log 62

Task 22 Detective Work with svn blame 64

Task 23 Reverting a Committed Revision 66

V Branching, Merging, and Tagging 69

Task 24 Creating a Branch 76

Task 25 Switching to a Branch 78

Task 26 Merging Changes from Trunk to Branch 80

Task 27 Using Change Tracking 82

Task 28 Tagging a Release 84

VI File Locking 87

Task 29 Enabling File Locking 92

Task 30 Obtaining a Lock 94

Task 31 Releasing a Lock 96

Task 32 Breaking Someone Else's Lock 98

VII Setting Up a Server 101

Task 33 Installing Subversion Server 106

Task 34 Creating a Repository 108

Task 35 Installing Subversion Server on Windows 110

Task 36 Using Third-Party Subversion Hosting 112

Task 37 Migrating a CVS Repository 114

Task 38 Backing Up and Restoring 116

Task 39 Performing Full Weekly Backups 118

Task 40 Performing Incremental Daily Backups 120

Task 41 Securing a Repository 122

Task 42 Using Repository Hooks 124

VIII Advanced Topics 127

Task 43 Working with Properties 130

Task 44 Using Externals 132

Task 45 Organizing Multiple Projects 134

Task 46 Storing Third-Party Code 136

Task 47 Working Directly with the Repository 138

Task 48 Using Patch Files 140

A Bibliography 143

Index 145

Customer Reviews