Mercurial による分散構成管理

Bryan O’Sullivan

Copyright © 2006, 2007 Bryan O’Sullivan.
This material may be distributed only subject to the terms and conditions set forth in version 1.0 of the Open Publication License. ライセンスする Bしてください
リビジョンa24b370a16ee 翻訳したものです
Contents
Contents
List of Figures
Preface
Preface
 0.1 This book is a work in progress
 0.2 About the examples in this book
 0.3 Colophon—this book is Free
1 Introduction
 1.1 About revision control
 1.2 A short history of revision control
 1.3 Trends in revision control
 1.4 A few of the advantages of distributed revision control
 1.5 Why choose Mercurial?
 1.6 Mercurial compared with other tools
2 A tour of Mercurial: the basics
 2.1 Installing Mercurial on your system
 2.2 Getting started
 2.3 Working with a repository
 2.4 A tour through history
 2.5 All about command options
 2.6 Making and reviewing changes
 2.7 Recording changes in a new changeset
 2.8 Sharing changes
3 A tour of Mercurial: merging work
 3.1 Merging streams of work
 3.2 Merging conflicting changes
 3.3 Simplifying the pull-merge-commit sequence
4 Behind the scenes
 4.1 Mercurial’s historical record
 4.2 Safe, efficient storage
 4.3 Revision history, branching, and merging
 4.4 The working directory
 4.5 Other interesting design features
5 Mercurial in daily use
 5.1 Telling Mercurial which files to track
 5.2 How to stop tracking a file
 5.3 Copying files
 5.4 Renaming files
 5.5 Recovering from mistakes
6 Collaborating with other people
 6.1 Mercurial’s web interface
 6.2 Collaboration models
 6.3 The technical side of sharing
 6.4 Informal sharing with “hg serve
 6.5 Using the Secure Shell (ssh) protocol
 6.6 Serving over HTTP using CGI
7 File names and pattern matching
 7.1 Simple file naming
 7.2 Running commands without any file names
 7.3 Telling you what’s going on
 7.4 Using patterns to identify files
 7.5 Filtering files
 7.6 Ignoring unwanted files and directories
 7.7 Case sensitivity
8 Managing releases and branchy development
 8.1 Giving a persistent name to a revision
 8.2 The flow of changes—big picture vs. little
 8.3 Managing big-picture branches in repositories
 8.4 Don’t repeat yourself: merging across branches
 8.5 Naming branches within one repository
 8.6 Dealing with multiple named branches in a repository
 8.7 Branch names and merging
 8.8 Branch naming is generally useful
9 Finding and fixing your mistakes
 9.1 Erasing local history
 9.2 Reverting the mistaken change
 9.3 Dealing with committed changes
 9.4 Changes that should never have been
 9.5 Finding the source of a bug
 9.6 Tips for finding bugs effectively
10 Handling repository events with hooks
 10.1 An overview of hooks in Mercurial
 10.2 Hooks and security
 10.3 Care with pretxn hooks in a shared-access repository
 10.4 A short tutorial on using hooks
 10.5 Writing your own hooks
 10.6 Some hook examples
 10.7 Bundled hooks
 10.8 Information for writers of hooks
 10.9 Hook reference
11 Customising the output of Mercurial
 11.1 Using precanned output styles
 11.2 Commands that support styles and templates
 11.3 The basics of templating
 11.4 Common template keywords
 11.5 Escape sequences
 11.6 Filtering keywords to change their results
 11.7 From templates to styles
 11.8 Style files by example
12 Managing change with Mercurial Queues
 12.1 パッチ
 12.2 Mercurial Queues
 12.3 MQ きな
 12.4 パッチ
 12.5 Mercurial Queues 利用
 12.6 パッチしてしく
 12.7 MQ 最高すために
 12.8 パッチ
 12.9 パッチ
 12.10 っておくと便
 12.11 リポジトリにおけるパッチ
 12.12 パッチのためのドパティ
 12.13 パッチ方法
 12.14 MQ クックブック
 12.15 quilt MQ
13 Advanced uses of Mercurial Queues
 13.1 The problem of many targets
 13.2 によるパッチ
 13.3 パッチする
 13.4 使する選択
 13.5 MQ パッチ
 13.6 Trimming the work environment
 13.7 Dividing up the series file
 13.8 Maintaining the patch series
 13.9 Useful tips for developing with MQ
14 Adding functionality with extensions
 14.1 Improve performance with the inotify extension
 14.2 Flexible diff support with the extdiff extension
 14.3 Cherrypicking changes with the transplant extension
 14.4 Send changes via email with the patchbomb extension
A Installing Mercurial from source
 A.1 On a Unix-like system
 A.2 On Windows
B Open Publication License
 B.1 Requirements on both unmodified and modified versions
 B.2 Copyright
 B.3 Scope of license
 B.4 Requirements on modified works
 B.5 Good-practice recommendations
 B.6 License options
Bibliography
Bibliography
Index
Index