Using Subversion for version control
Http://www.subversion.org.cn/svnbook/1.4/index.html
For Subversion 1.4 (compiled based on r2866)Ben Collins-sussman Brian W. Fitzpatrick .C. Michael Pilato
Copyright ©2002, 2003, 2004, 2005, 2006, Ben Collins-sussman, Brian W. Fitzpatrick, C. Michael Pilato
This work uses co-creation licenses to access http://creativecommons.org/licenses/by/2.0/
or send mail to Creative Commons, 559 Nathan Abbott, Stanford, California 94305, USA. View this license.
(TBA)
Directory
-
- Objective
-
- Preface
-
-
- Readers
-
- How to read this book
-
- The book agreed
-
-
- Typesetting habits
- Icon
-
- The structure of the book
-
- This book is free.
-
- Thanks
-
-
- From Ben Collins-sussman
- From Brian W. Fitzpatrick.
- From C. Michael Pilato
-
- What is Subversion?
-
-
- History of Subversion
- Features of Subversion
- The Subversion architecture
- Components of Subversion
1. Basic Concepts
- Version Library
- Version model
-
- Issues with file sharing
- Lock-Modify-unlock scheme
- Copy-Modify-merge scheme
- Subversion Practice
-
- Subversion Repository URL
- Working copy
- Revised version
- Working copy how to track repository
- Working copy of a mixed revision
- Summarize
2. Basic use
-
- Help!
-
- Import data to your repository
-
-
- SVN import
- Recommended repository Layouts
Initialize Check out
- Disable password caching
- With other identity authentication
Basic work Cycle
- Update your working copy
- Modify your working copy
- Check your changes.
- Cancel Local Modifications
- Resolve Conflicts (Merge others ' changes)
- Submit your changes
Inspection history
- Create a History modification list
- Check the details of history changes
- Browse the Repository
- Get the old repository snapshot
Sometimes you just need to clean up
Summarize
3. Advanced Topics
-
- Version List
-
-
- Revised version Keywords
- Version Date
Property
- Why do I need attributes?
- Action Properties
- Properties and Subversion Workflow
- Setting properties automatically
File portability
- File Content Type
- Executable of the file
- Line End String
Ignore entries with no version control
Keyword substitution
Lock
- Create a lock
- Discovery Lock
- Unlock and Steal lock
- Lock AC
Externally defined
Peg and Implementation Revisions
Network model
- Requests and responses
- Client credential cache
4. Branching and merging
-
- What is a branch?
-
- Using branches
-
-
- Create a branch
- Working on a branch
- Key concepts behind a branch
To copy changes between branches
- Copy a specific modification
- Key concepts behind the merger
- Best Practices for Consolidation
Common use Cases
- Merge branches to another branch
- Cancel Modification
- Retrieve Deleted Items
- Common Branch Mode
Using branches
Label
- Create a simple label
- Creating Complex labels
Branch Maintenance
- Version Library layout
- The life cycle of the data
Supply Side Branch
- Regular supply-side branch management process
-
svn_load_dirs.pl
Summarize
5. Repository Management
-
- Definition of Subversion Repository
-
- Repository Development Strategy
-
-
- Plan your Repository structure
- Decide where and how to deploy your repository
- Choose a data storage format
Create and configure your repository
- To create a version library
- Implementing Repository Hooks
- Berkeley DB Configuration
Repository Maintenance
- Administrator's Toolbox
- Fix Commit Message
- Managing disk space
- Berkeley DB Recovery
- Porting of repository data
- Filter Repository History
- Version Library replication
- Version Library Backup
Summarize
6. Service Configuration
-
- Overview
-
- Select a server configuration
-
-
-
svnserve Server
-
svnserve using SSH Channel
- Apache HTTP Server
- Recommended
Svnserve, a custom server
- Call Server
- Built-in certifications and authorizations
- SSH Tunnel
- SSH Configuration Tips
HTTP Server for Httpd,apache
- Prerequisite
- Basic Apache Configuration
- Authentication Options
- Licensing options
- Extra candy.
Path-based authorization
Support for multiple repository access methods
7. Customize your Subversion Experience
- Run the configuration area
-
- Configuration Area Layout
- Configuration and Windows Registry
- Configuration options
- Localization
-
- Understanding regions
- Subversion support for Regional settings
- Using the external comparison tool
-
- External diff
- External DIFF3
8. Embed Subversion
- Tiered library design
-
- Version Library layer
- Version Library Access layer
- Client Layer
- Access to the working copy of the admin area
-
- Entry file
- Original copy and properties file
- Using the API
-
- Apache Portable Runtime Library
- URL and Path requirements
- Use a language other than C and C + +
- Code sample
9. Subversion Full Reference
-
- Subversion command-line client:
svn
-
-
-
SVN Options
-
SVN Sub-command
svnadmin
-
svnadmin Options
-
svnadmin Sub-command
Svnlook
-
Svnlook Options
-
Svnlook Sub-command
Svnsync
-
Svnsync Options
-
Svnsync Sub-command
Svnserve
-
svnserve Options
svnversion
mod_dav_svn
Subversion Properties
- Versioning-controlled properties
- Versioning-not-controlled properties
Version Library hooks
A. Subversion Quick Start Guide
- Installing Subversion
- Quick Guide
B. CVS User's Subversion guide
- The version number is different now.
- Version of the Catalog
- More offline operations
- Differentiate Status and update
-
- State
- Update
- Branches and labels
- Meta Data properties
- Resolve Conflicts
- binary file and line end tag conversions
- versioned Modules
- Certification
- Migrating the CVS repository to Subversion
C. WebDAV and automatic versions
- What is WebDAV?
- Automatic versioning
- Client interactivity
-
- Stand-alone WebDAV applications
- File Browser WebDAV extension
- WebDAV file System implementation
D. Third-party tools
E. Copyright
Index
List of illustrations
-
1. Subversion architecture
-
1.1. A typical client/server system
-
1.2. Issues that need to be avoided
-
1.3. Lock-Modify-unlock scheme
-
1.4. Copy-Modify-merge scheme
-
1.5. Copy-Modify-merge programme (continued)
-
1.6. File System for Repository
-
1.7. Version Library
-
4.1. Branching and development
-
4.2. Start planning the Repository
-
4.3. Repository and replication
-
4.4. A branch history of a file
-
8.1. Two-D files and directories
-
8.2. Version time-third dimension!
List of forms
-
1.1.
-
5.1.
-
6.1.
-
C.1.
List of examples
-
5.1. txn-info.sh (Reporting abnormal transactions)
-
5.2. Pre-revprop-change Hooks for Image repository
-
5.3. Start-commit Hooks for Image repository
-
6.1. An anonymous access configuration instance.
-
6.2. An authenticated access configuration instance.
-
6.3. A hybrid authentication/anonymous access configuration instance.
-
6.4. Disable all path checks
-
7.1. The registry entry (. reg) sample file.
-
7.2. diffwrap.sh
-
7.3. Diffwrap.bat
-
7.4. diff3wrap.sh
-
7.5. Diff3wrap.bat
-
8.1. Using the repository layer
-
8.2. Working with the repository layer using Python
-
8.3. A Python State crawler
[Go] Use Subversion for version control