Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
0Activity

Table Of Contents

Foreword
Preface
Audience
How to Read this Book
Conventions Used in This Book
Typographic Conventions
Icons
Organization of This Book
This Book is Free
Acknowledgments
From Ben Collins-Sussman
From Brian W. Fitzpatrick
From C. Michael Pilato
What is Subversion?
Subversion's History
Subversion's Features
Subversion's Architecture
Figure 1. Subversion's Architecture
Subversion's Components
Chapter 1. Fundamental Concepts
The Repository
Figure 1.1. A typical client/server system
Versioning Models
The Problem of File-Sharing
The Lock-Modify-Unlock Solution
The Copy-Modify-Merge Solution
Figure 1.4. The copy-modify-merge solution
Subversion in Action
Subversion Repository URLs
Working Copies
Figure 1.6. The repository's filesystem
Repository URLs
Table 1.1. Repository Access URLs
Revisions
How Working Copies Track the Repository
Mixed Revision Working Copies
Summary
Chapter 2. Basic Usage
Help!
Getting Data into your Repository
svn import
Recommended repository layout
Initial Checkout
Disabling Password Caching
Authenticating as a Different User
Basic Work Cycle
• Update your working copy
Update Your Working Copy
Make Changes to Your Working Copy
Examine Your Changes
See an overview of your changes
Generating a list of historical changes
Examining the details of historical changes
Browsing the repository
Fetching older repository snapshots
Sometimes You Just Need to Clean Up
Chapter 3. Advanced Topics
Revision Specifiers
Revision Keywords
Revision Dates
Properties
Why Properties?
Manipulating Properties
Properties and the Subversion Workflow
Automatic Property Setting
File Portability
File Content Type
File Executability
End-of-Line Character Sequences
Ignoring Unversioned Items
Keyword Substitution
Locking
The three meanings of “lock”
Creating locks
Discovering locks
Breaking and stealing locks
Lock Communication
Externals Definitions
Client Credentials Caching
Chapter 4. Branching and Merging
What's a Branch?
Figure 4.1. Branches of development
Using Branches
Figure 4.2. Starting repository layout
Creating a Branch
Working with Your Branch
Figure 4.4. The branching of one file's history
The Key Concepts Behind Branches
Copying Changes Between Branches
Copying Specific Changes
The Key Concept Behind Merging
Best Practices for Merging
Common Use-Cases
Merging a Whole Branch to Another
Undoing Changes
Resurrecting Deleted Items
Common Branching Patterns
Traversing Branches
Tags
Creating a Simple Tag
Creating a Complex Tag
Branch Maintenance
Repository Layout
Data Lifetimes
Vendor branches
General Vendor Branch Management Procedure
svn_load_dirs.pl
Chapter 5. Repository Administration
The Subversion Repository, Defined
Strategies for Repository Deployment
Planning Your Repository Organization
Deciding Where and How to Host Your Repository
Choosing a Data Store
Creating and Configuring Your Repository
Creating the Repository
Implementing Repository Hooks
Berkeley DB Configuration
Repository Maintenance
An Administrator's Toolkit
Commit Log Message Correction
Managing Disk Space
Removing dead transactions
Example 5.1. txn-info.sh (Reporting Outstanding Transactions)
Berkeley DB Recovery
Migrating Repository Data Elsewhere
Filtering Repository History
Repository Replication
Example 5.2. Mirror repository's pre-revprop-change hook script
Example 5.3. Mirror repository's start-commit hook script
Repository Backup
Chapter 6. Server Configuration
Overview
Table 6.1. Comparison of Subversion Server Options
Choosing a Server Configuration
The svnserve Server
svnserve over SSH
The Apache HTTP Server
Recommendations
svnserve, a custom server
Invoking the Server
Built-in authentication and authorization
Tunneling over SSH
SSH configuration tricks
httpd, the Apache HTTP server
Prerequisites
Basic Apache Configuration
Authentication Options
Authorization Options
Example 6.1. A sample configuration for anonymous access
Example 6.2. A sample configuration for authenticated access
Example 6.3. A sample configuration for mixed authenticated/anonymous access
Example 6.4. Disabling path checks altogether
Extra Goodies
Path-Based Authorization
Supporting Multiple Repository Access Meth- ods
Chapter 7. Customizing Your Subversion Experience
Runtime Configuration Area
Configuration Area Layout
Configuration and the Windows Registry
Example 7.1. Sample Registration Entries (.reg) File
Configuration Options
Localization
Understanding locales
Subversion's use of locales
Using External Differencing Tools
External diff
External diff3
Chapter 8. Embedding Subversion
Layered Library Design
Repository Layer
Figure 8.1. Files and directories in two dimensions
Repository Access Layer
Client Layer
Inside the Working Copy Administration Area
The Entries File
Pristine Copies and Property Files
Using the APIs
The Apache Portable Runtime Library
URL and Path Requirements
Using Languages Other than C and C++
Code Samples
Example 8.1. Using the Repository Layer
Example 8.2. Using the Repository Layer with Python
Example 8.3. A Python Status Crawler
Chapter 9. Subversion Complete Reference
The Subversion Command Line Client: svn
svn Options
svn Subcommands
svnadmin
svnadmin Options
svnadmin Subcommands
svnlook
svnlook Options
svnlook Subcommands
svnsync
svnsync Options
svnsync Subcommands
svnserve
svnserve Options
svnversion
mod_dav_svn
Subversion properties
Versioned Properties
Unversioned Properties
Repository Hooks
Appendix A. Subversion Quick-Start Guide
Installing Subversion
High-speed Tutorial
Appendix B. Subversion for CVS Users
Revision Numbers Are Different Now
Directory Versions
More Disconnected Operations
Distinction Between Status and Update
Status
Update
Branches and Tags
Metadata Properties
Conflict Resolution
Binary Files and Translation
Versioned Modules
Authentication
Converting a Repository from CVS to Subver- sion
Appendix C. WebDAV and Autoversioning
What is WebDAV?
Autoversioning
Client Interoperability
Table C.1. Common WebDAV Clients
Standalone WebDAV applications
File-explorer WebDAV extensions
WebDAV filesystem implementation
Appendix D. Third Party Tools
Appendix E. Copyright
Index
0 of .
Results for:
No results containing your search query
P. 1
svn-book

svn-book

Ratings: (0)|Views: 3 |Likes:
Published by Marcio Willian

More info:

Published by: Marcio Willian on Dec 28, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

04/01/2014

pdf

text

original

You're Reading a Free Preview
Pages 8 to 47 are not shown in this preview.
You're Reading a Free Preview
Pages 55 to 88 are not shown in this preview.
You're Reading a Free Preview
Pages 96 to 239 are not shown in this preview.
You're Reading a Free Preview
Pages 247 to 274 are not shown in this preview.
You're Reading a Free Preview
Pages 282 to 370 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->