comparison en/ch00-preface.xml @ 766:3b33dd6aba87

Merge with http://hg.serpentine.com/mercurial/book
author Dongsheng Song <songdongsheng@live.cn>
date Thu, 02 Apr 2009 09:24:36 +0800
parents 1c13ed2130a7 c44d5854620b
children b338f5490029
comparison
equal deleted inserted replaced
765:d8c85d831fb4 766:3b33dd6aba87
66 <listitem><para id="x_75">It will help you to work simultaneously on, 66 <listitem><para id="x_75">It will help you to work simultaneously on,
67 and manage the drift between, multiple versions of your 67 and manage the drift between, multiple versions of your
68 project.</para></listitem> 68 project.</para></listitem>
69 </itemizedlist> 69 </itemizedlist>
70 70
71 <para id="x_76">Most of these reasons are equally valid---at least in 71 <para id="x_76">Most of these reasons are equally
72 theory---whether you're working on a project by yourself, or 72 valid&emdash;at least in theory&emdash;whether you're working
73 with a hundred other people.</para> 73 on a project by yourself, or with a hundred other
74 people.</para>
74 75
75 <para id="x_77">A key question about the practicality of revision control 76 <para id="x_77">A key question about the practicality of revision control
76 at these two different scales (<quote>lone hacker</quote> and 77 at these two different scales (<quote>lone hacker</quote> and
77 <quote>huge team</quote>) is how its 78 <quote>huge team</quote>) is how its
78 <emphasis>benefits</emphasis> compare to its 79 <emphasis>benefits</emphasis> compare to its
141 </sect1> 142 </sect1>
142 <sect1> 143 <sect1>
143 <title>About the examples in this book</title> 144 <title>About the examples in this book</title>
144 145
145 <para id="x_84">This book takes an unusual approach to code samples. Every 146 <para id="x_84">This book takes an unusual approach to code samples. Every
146 example is <quote>live</quote>---each one is actually the result 147 example is <quote>live</quote>&emdash;each one is actually the result
147 of a shell script that executes the Mercurial commands you see. 148 of a shell script that executes the Mercurial commands you see.
148 Every time an image of the book is built from its sources, all 149 Every time an image of the book is built from its sources, all
149 the example scripts are automatically run, and their current 150 the example scripts are automatically run, and their current
150 results compared against their expected results.</para> 151 results compared against their expected results.</para>
151 152
351 <para id="x_9a">Centralised revision control systems tend to have 352 <para id="x_9a">Centralised revision control systems tend to have
352 relatively low scalability. It's not unusual for an expensive 353 relatively low scalability. It's not unusual for an expensive
353 centralised system to fall over under the combined load of 354 centralised system to fall over under the combined load of
354 just a few dozen concurrent users. Once again, the typical 355 just a few dozen concurrent users. Once again, the typical
355 response tends to be an expensive and clunky replication 356 response tends to be an expensive and clunky replication
356 facility. Since the load on a central server---if you have 357 facility. Since the load on a central server&emdash;if you have
357 one at all---is many times lower with a distributed tool 358 one at all&emdash;is many times lower with a distributed tool
358 (because all of the data is replicated everywhere), a single 359 (because all of the data is replicated everywhere), a single
359 cheap server can handle the needs of a much larger team, and 360 cheap server can handle the needs of a much larger team, and
360 replication to balance load becomes a simple matter of 361 replication to balance load becomes a simple matter of
361 scripting.</para> 362 scripting.</para>
362 363