Mercurial > hgbook
comparison en/ch13-hgext.xml @ 771:b338f5490029
Americanize spellings :-(
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu, 09 Apr 2009 22:52:16 -0700 |
parents | 1c13ed2130a7 |
children |
comparison
equal
deleted
inserted
replaced
770:eb11ec9eed8c | 771:b338f5490029 |
---|---|
97 component to optimise <command role="hg-cmd">hg status</command> | 97 component to optimise <command role="hg-cmd">hg status</command> |
98 commands. The extension has two components. A daemon sits in | 98 commands. The extension has two components. A daemon sits in |
99 the background and receives notifications from the | 99 the background and receives notifications from the |
100 <literal>inotify</literal> subsystem. It also listens for | 100 <literal>inotify</literal> subsystem. It also listens for |
101 connections from a regular Mercurial command. The extension | 101 connections from a regular Mercurial command. The extension |
102 modifies Mercurial's behaviour so that instead of scanning the | 102 modifies Mercurial's behavior so that instead of scanning the |
103 filesystem, it queries the daemon. Since the daemon has perfect | 103 filesystem, it queries the daemon. Since the daemon has perfect |
104 information about the state of the repository, it can respond | 104 information about the state of the repository, it can respond |
105 with a result instantaneously, avoiding the need to scan every | 105 with a result instantaneously, avoiding the need to scan every |
106 directory and file in the repository.</para> | 106 directory and file in the repository.</para> |
107 | 107 |
247 enabled.</para> | 247 enabled.</para> |
248 | 248 |
249 <para id="x_520">When you're using the <literal | 249 <para id="x_520">When you're using the <literal |
250 role="hg-ext">inotify</literal> extension, you should notice | 250 role="hg-ext">inotify</literal> extension, you should notice |
251 <emphasis>no difference at all</emphasis> in Mercurial's | 251 <emphasis>no difference at all</emphasis> in Mercurial's |
252 behaviour, with the sole exception of status-related commands | 252 behavior, with the sole exception of status-related commands |
253 running a whole lot faster than they used to. You should | 253 running a whole lot faster than they used to. You should |
254 specifically expect that commands will not print different | 254 specifically expect that commands will not print different |
255 output; neither should they give different results. If either of | 255 output; neither should they give different results. If either of |
256 these situations occurs, please report a bug.</para> | 256 these situations occurs, please report a bug.</para> |
257 | 257 |
479 send one message per changeset. It will preface the series with | 479 send one message per changeset. It will preface the series with |
480 an introductory message, in which you should describe the | 480 an introductory message, in which you should describe the |
481 purpose of the series of changes you're sending.</para> | 481 purpose of the series of changes you're sending.</para> |
482 | 482 |
483 <sect2> | 483 <sect2> |
484 <title>Changing the behaviour of patchbombs</title> | 484 <title>Changing the behavior of patchbombs</title> |
485 | 485 |
486 <para id="x_53b">Not every project has exactly the same conventions for | 486 <para id="x_53b">Not every project has exactly the same conventions for |
487 sending changes in email; the <literal | 487 sending changes in email; the <literal |
488 role="hg-ext">patchbomb</literal> extension tries to | 488 role="hg-ext">patchbomb</literal> extension tries to |
489 accommodate a number of variations through command line | 489 accommodate a number of variations through command line |
499 messages originate, use the <option | 499 messages originate, use the <option |
500 role="hg-ext-patchbomb-cmd-email-opt">hg -f</option> | 500 role="hg-ext-patchbomb-cmd-email-opt">hg -f</option> |
501 option. This takes one argument, the email address to | 501 option. This takes one argument, the email address to |
502 use.</para> | 502 use.</para> |
503 </listitem> | 503 </listitem> |
504 <listitem><para id="x_53e">The default behaviour is to send unified diffs | 504 <listitem><para id="x_53e">The default behavior is to send unified diffs |
505 (see <xref linkend="sec:mq:patch"/> for a | 505 (see <xref linkend="sec:mq:patch"/> for a |
506 description of the | 506 description of the |
507 format), one per message. You can send a binary bundle | 507 format), one per message. You can send a binary bundle |
508 instead with the <option | 508 instead with the <option |
509 role="hg-ext-patchbomb-cmd-email-opt">hg -b</option> | 509 role="hg-ext-patchbomb-cmd-email-opt">hg -b</option> |