annotate en/00book.tex @ 187:b60e2de6dbc3

Add chapter on branch management.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 16 Apr 2007 14:19:31 -0700
parents c54f4c106fd5
children 959357d01607
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
1 % The use of oneside here is a temporary hack; \marginpar entries
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
2 % don't show up on odd pages of PDF output without it. Sigh.
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
3 \documentclass[oneside]{book}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
4 \usepackage{enumerate}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
5 \usepackage{fullpage}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
6 \usepackage{makeidx}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
7 \usepackage{ifpdf}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
8 \usepackage{graphicx}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
9 \usepackage{pslatex}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
10 \usepackage{fancyvrb}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
11 % leave hyperref until last
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
12 \usepackage[colorlinks=true,bookmarks=true]{hyperref}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
13
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
14 \include{99defs}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
15
177
c54f4c106fd5 Record the version of Mercurial used.
Bryan O'Sullivan <bos@serpentine.com>
parents: 159
diff changeset
16 \title{Distributed revision control with Mercurial} \author{Bryan
c54f4c106fd5 Record the version of Mercurial used.
Bryan O'Sullivan <bos@serpentine.com>
parents: 159
diff changeset
17 O'Sullivan}
148
6a5864c09879 Update copyright.
Bryan O'Sullivan <bos@serpentine.com>
parents: 133
diff changeset
18 \date{Copyright \copyright\ 2006, 2007 Bryan O'Sullivan.\\
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
19 This material may be distributed only subject to the terms and
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
20 conditions set forth in version 1.0 of the Open Publication License.
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
21 Please refer to Appendix~\ref{cha:opl} for the license text.\\
177
c54f4c106fd5 Record the version of Mercurial used.
Bryan O'Sullivan <bos@serpentine.com>
parents: 159
diff changeset
22 This book was prepared from revision \input{build_id} of its sources
c54f4c106fd5 Record the version of Mercurial used.
Bryan O'Sullivan <bos@serpentine.com>
parents: 159
diff changeset
23 using revision \input{hg_id} of Mercurial.}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
24
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
25 \makeindex
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
26
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
27 \begin{document}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
28
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
29 \maketitle
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
30
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
31 \addcontentsline{toc}{chapter}{Contents}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
32 \pagenumbering{roman}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
33 \tableofcontents
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
34 \listoffigures
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
35 %\listoftables
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
36
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
37 \pagenumbering{arabic}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
38
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
39 \include{preface}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
40 \include{intro}
95
47ea206351d5 Split tour into two sections.
Bryan O'Sullivan <bos@serpentine.com>
parents: 89
diff changeset
41 \include{tour-basic}
47ea206351d5 Split tour into two sections.
Bryan O'Sullivan <bos@serpentine.com>
parents: 89
diff changeset
42 \include{tour-merge}
108
e0b961975c5e First bit of concepts chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 104
diff changeset
43 \include{concepts}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
44 \include{daily}
159
7355af913937 First steps on collaboration chapter.
Bryan O'Sullivan <bos@serpentine.com>
parents: 148
diff changeset
45 \include{collab}
133
1e013fbe35f7 Lots of filename related content. A little more command reference
Bryan O'Sullivan <bos@serpentine.com>
parents: 132
diff changeset
46 \include{filenames}
187
b60e2de6dbc3 Add chapter on branch management.
Bryan O'Sullivan <bos@serpentine.com>
parents: 177
diff changeset
47 \include{branch}
124
c9aad709bd3a Document the backout command.
Bryan O'Sullivan <bos@serpentine.com>
parents: 108
diff changeset
48 \include{undo}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
49 \include{hook}
76
df88df78288d Add template chapter to build.
Bryan O'Sullivan <bos@serpentine.com>
parents: 61
diff changeset
50 \include{template}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
51 \include{mq}
104
32bf9a5f22c0 Refactor MQ chapter into three.
Bryan O'Sullivan <bos@serpentine.com>
parents: 95
diff changeset
52 \include{mq-collab}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
53
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
54 \appendix
132
e1e2f3e0256a Start command reference, with the diff command.
Bryan O'Sullivan <bos@serpentine.com>
parents: 124
diff changeset
55 \include{cmdref}
e1e2f3e0256a Start command reference, with the diff command.
Bryan O'Sullivan <bos@serpentine.com>
parents: 124
diff changeset
56 \include{mq-ref}
85
b7c69a68b0cc A little progress on "lightning tour".
Bryan O'Sullivan <bos@serpentine.com>
parents: 84
diff changeset
57 \include{srcinstall}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
58 \include{license}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
59 \addcontentsline{toc}{chapter}{Bibliography}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
60 \bibliographystyle{alpha}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
61 \bibliography{99book}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
62
89
2914e2373139 Add contents entry for the index.
Bryan O'Sullivan <bos@serpentine.com>
parents: 85
diff changeset
63 \addcontentsline{toc}{chapter}{Index}
61
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
64 \printindex
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
65
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
66 \end{document}
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
67
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
68 %%% Local Variables:
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
69 %%% mode: latex
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
70 %%% TeX-master: t
39ea14398861 Remove trailing carriage returns added by Jeff.
Bryan O'Sullivan <bos@serpentine.com>
parents: 57
diff changeset
71 %%% End: