comparison en/ch09-hook.xml @ 771:b338f5490029

Americanize spellings :-(
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 09 Apr 2009 22:52:16 -0700
parents 1c13ed2130a7
children ef53d025f410
comparison
equal deleted inserted replaced
770:eb11ec9eed8c 771:b338f5490029
183 <sect2> 183 <sect2>
184 <title>Hooks can be overridden</title> 184 <title>Hooks can be overridden</title>
185 185
186 <para id="x_200">Mercurial allows you to override a hook definition by 186 <para id="x_200">Mercurial allows you to override a hook definition by
187 redefining the hook. You can disable it by setting its value 187 redefining the hook. You can disable it by setting its value
188 to the empty string, or change its behaviour as you wish. 188 to the empty string, or change its behavior as you wish.
189 </para> 189 </para>
190 190
191 <para id="x_201">If you deploy a system- or site-wide <filename 191 <para id="x_201">If you deploy a system- or site-wide <filename
192 role="special">~/.hgrc</filename> file that defines some 192 role="special">~/.hgrc</filename> file that defines some
193 hooks, you should thus understand that your users can disable 193 hooks, you should thus understand that your users can disable
1037 1037
1038 <para id="x_25d">You can configure the text that this hook adds as a 1038 <para id="x_25d">You can configure the text that this hook adds as a
1039 comment; you specify it in the form of a Mercurial template. 1039 comment; you specify it in the form of a Mercurial template.
1040 Several <filename role="special">~/.hgrc</filename> entries 1040 Several <filename role="special">~/.hgrc</filename> entries
1041 (still in the <literal role="rc-bugzilla">bugzilla</literal> 1041 (still in the <literal role="rc-bugzilla">bugzilla</literal>
1042 section) control this behaviour. 1042 section) control this behavior.
1043 </para> 1043 </para>
1044 <itemizedlist> 1044 <itemizedlist>
1045 <listitem><para id="x_25e"><literal>strip</literal>: The number of 1045 <listitem><para id="x_25e"><literal>strip</literal>: The number of
1046 leading path elements to strip from a repository's path 1046 leading path elements to strip from a repository's path
1047 name to construct a partial path for a URL. For example, 1047 name to construct a partial path for a URL. For example,