hgbook
diff en/ch14-hgext.xml @ 625:cfdb601a3c8b
Fix imagedata fileref in xml files, and replace ':' with '.' in id attribute
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Thu Mar 12 15:51:39 2009 +0800 (2009-03-12) |
parents | 13513d2a128d |
children | d0160b0b1a9e |
line diff
1.1 --- a/en/ch14-hgext.xml Mon Mar 09 23:37:29 2009 -0700 1.2 +++ b/en/ch14-hgext.xml Thu Mar 12 15:51:39 2009 +0800 1.3 @@ -1,6 +1,6 @@ 1.4 <!-- vim: set filetype=docbkxml shiftwidth=2 autoindent expandtab tw=77 : --> 1.5 1.6 -<chapter id="chap:hgext"> 1.7 +<chapter id="chap.hgext"> 1.8 <?dbhtml filename="adding-functionality-with-extensions.html"?> 1.9 <title>Adding functionality with extensions</title> 1.10 1.11 @@ -15,13 +15,13 @@ 1.12 <emphasis>plugins</emphasis>). We've already discussed a few of 1.13 these extensions in earlier chapters.</para> 1.14 <itemizedlist> 1.15 - <listitem><para>Section <xref linkend="sec:tour-merge:fetch"/> 1.16 + <listitem><para>Section <xref linkend="sec.tour-merge.fetch"/> 1.17 covers the <literal role="hg-ext">fetch</literal> extension; 1.18 this combines pulling new changes and merging them with local 1.19 changes into a single command, <command 1.20 role="hg-ext-fetch">fetch</command>.</para> 1.21 </listitem> 1.22 - <listitem><para>In chapter <xref linkend="chap:hook"/>, we covered 1.23 + <listitem><para>In chapter <xref linkend="chap.hook"/>, we covered 1.24 several extensions that are useful for hook-related 1.25 functionality: <literal role="hg-ext">acl</literal> adds 1.26 access control lists; <literal 1.27 @@ -32,10 +32,10 @@ 1.28 </listitem> 1.29 <listitem><para>The Mercurial Queues patch management extension is 1.30 so invaluable that it merits two chapters and an appendix all 1.31 - to itself. Chapter <xref linkend="chap:mq"/> covers the 1.32 + to itself. Chapter <xref linkend="chap.mq"/> covers the 1.33 basics; chapter <xref 1.34 - linkend="chap:mq-collab"/> discusses advanced topics; 1.35 - and appendix <xref linkend="chap:mqref"/> goes into detail on 1.36 + linkend="chap.mq-collab"/> discusses advanced topics; 1.37 + and appendix <xref linkend="chap.mqref"/> goes into detail on 1.38 each 1.39 command.</para> 1.40 </listitem></itemizedlist> 1.41 @@ -45,13 +45,13 @@ 1.42 machinery you'll need to know about if you want to write an 1.43 extension of your own.</para> 1.44 <itemizedlist> 1.45 - <listitem><para>In section <xref linkend="sec:hgext:inotify"/>, 1.46 + <listitem><para>In section <xref linkend="sec.hgext.inotify"/>, 1.47 we'll discuss the possibility of <emphasis>huge</emphasis> 1.48 performance improvements using the <literal 1.49 role="hg-ext">inotify</literal> extension.</para> 1.50 </listitem></itemizedlist> 1.51 1.52 - <sect1 id="sec:hgext:inotify"> 1.53 + <sect1 id="sec.hgext.inotify"> 1.54 <title>Improve performance with the <literal 1.55 role="hg-ext">inotify</literal> extension</title> 1.56 1.57 @@ -188,7 +188,7 @@ 1.58 <listitem><para>Make sure that you have the Mercurial Queues 1.59 extension, <literal role="hg-ext">mq</literal>, enabled. If 1.60 you've never used MQ, read section <xref 1.61 - linkend="sec:mq:start"/> to get started 1.62 + linkend="sec.mq.start"/> to get started 1.63 quickly.</para> 1.64 </listitem> 1.65 <listitem><para>Go into the <filename 1.66 @@ -263,7 +263,7 @@ 1.67 these situations occurs, please report a bug.</para> 1.68 1.69 </sect1> 1.70 - <sect1 id="sec:hgext:extdiff"> 1.71 + <sect1 id="sec.hgext.extdiff"> 1.72 <title>Flexible diff support with the <literal 1.73 role="hg-ext">extdiff</literal> extension</title> 1.74 1.75 @@ -360,7 +360,7 @@ 1.76 example of such scripting in action with the <literal 1.77 role="hg-ext">mq</literal> extension and the 1.78 <command>interdiff</command> command, see section <xref 1.79 - linkend="mq-collab:tips:interdiff"/>.</para> 1.80 + linkend="mq-collab.tips.interdiff"/>.</para> 1.81 1.82 <sect2> 1.83 <title>Defining command aliases</title> 1.84 @@ -402,14 +402,14 @@ 1.85 1.86 </sect2> 1.87 </sect1> 1.88 - <sect1 id="sec:hgext:transplant"> 1.89 + <sect1 id="sec.hgext.transplant"> 1.90 <title>Cherrypicking changes with the <literal 1.91 role="hg-ext">transplant</literal> extension</title> 1.92 1.93 <para>Need to have a long chat with Brendan about this.</para> 1.94 1.95 </sect1> 1.96 - <sect1 id="sec:hgext:patchbomb"> 1.97 + <sect1 id="sec.hgext.patchbomb"> 1.98 <title>Send changes via email with the <literal 1.99 role="hg-ext">patchbomb</literal> extension</title> 1.100 1.101 @@ -504,7 +504,7 @@ 1.102 use.</para> 1.103 </listitem> 1.104 <listitem><para>The default behaviour is to send unified diffs 1.105 - (see section <xref linkend="sec:mq:patch"/> for a 1.106 + (see section <xref linkend="sec.mq.patch"/> for a 1.107 description of the 1.108 format), one per message. You can send a binary bundle 1.109 instead with the <option