Mercurial > hgbook
changeset 330:cadfd8bf5f15
more mq.tex
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sun, 30 Mar 2008 06:13:35 +0900 |
parents | d520107e32e7 |
children | 110ebf968d3f |
files | ja/mq.tex ja/todo.txt |
diffstat | 2 files changed, 42 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/ja/mq.tex Sun Mar 30 03:34:33 2008 +0900 +++ b/ja/mq.tex Sun Mar 30 06:13:35 2008 +0900 @@ -392,10 +392,15 @@ \section{Mercurial Queues$B$r;H$C$F$_$k(B} \label{sec:mq:start} -Because MQ is implemented as an extension, you must explicitly enable -before you can use it. (You don't need to download anything; MQ ships -with the standard Mercurial distribution.) To enable MQ, edit your -\tildefile{.hgrc} file, and add the lines in figure~\ref{ex:mq:config}. +%Because MQ is implemented as an extension, you must explicitly enable +%before you can use it. (You don't need to download anything; MQ ships +%with the standard Mercurial distribution.) To enable MQ, edit your +%\tildefile{.hgrc} file, and add the lines in figure~\ref{ex:mq:config}. + +MQ$B$O%(%/%9%F%s%7%g%s$H$7$F<BAu$5$l$F$$$k$N$G!$;H$&A0$KL@<(E*$KM-8z$K$9$k(B +$BI,MW$,$"$k!%!J2?$b%@%&%s%m!<%I$9$kI,MW$O$J$$!%(BMQ$B$ODL>o$N(BMercurial$B$KF1:-$5(B +$B$l$F$$$k!K(BMQ$B$rM-8z$K$9$k$K$O(B\tildefile{.hgrc}$B%U%!%$%k$rJT=8$7!$(B +$B?^(B~\ref{ex:mq:config}$B$N$h$&$K@_Dj$rDI2C$9$k!%(B \begin{figure}[ht] \begin{codesample4} @@ -403,37 +408,54 @@ hgext.mq = \end{codesample4} \label{ex:mq:config} - \caption{Contents to add to \tildefile{.hgrc} to enable the MQ extension} +% \caption{Contents to add to \tildefile{.hgrc} to enable the MQ + % extension} + \caption{MQ$B%(%/%9%F%s%7%g%s$rM-8z$K$9$k$?$a$K(B\tildefile{.hgrc}$B$KDI2C$9$kFbMF(B} \end{figure} -Once the extension is enabled, it will make a number of new commands -available. To verify that the extension is working, you can use -\hgcmd{help} to see if the \hgxcmd{mq}{qinit} command is now available; see -the example in figure~\ref{ex:mq:enabled}. +%Once the extension is enabled, it will make a number of new commands +%available. To verify that the extension is working, you can use +%\hgcmd{help} to see if the \hgxcmd{mq}{qinit} command is now available; see +%the example in figure~\ref{ex:mq:enabled}. + +$B%(%/%9%F%s%7%g%s$,M-8z2=$5$l$k$H0lO"$N%3%^%s%I$,MxMQ2DG=$K$J$k!%%(%/%9%F(B +$B%s%7%g%s$,M-8z$G$"$k$3$H$r3NG'$9$k$?$a$K$O!$(B\hgcmd{help}$B$G(B +\hgxcmd{mq}{qinit}$B$,$"$k$3$H$r3NG'$9$k!%?^(B~\ref{ex:mq:enabled}$B$NNc$r;2>H(B +$B$5$l$?$$!%(B \begin{figure}[ht] \interaction{mq.qinit-help.help} - \caption{How to verify that MQ is enabled} +% \caption{How to verify that MQ is enabled} + \caption{MQ$B$,M-8z$G$"$k$3$H$N3NG'K!(B} \label{ex:mq:enabled} \end{figure} -You can use MQ with \emph{any} Mercurial repository, and its commands -only operate within that repository. To get started, simply prepare -the repository using the \hgxcmd{mq}{qinit} command (see -figure~\ref{ex:mq:qinit}). This command creates an empty directory -called \sdirname{.hg/patches}, where MQ will keep its metadata. As -with many Mercurial commands, the \hgxcmd{mq}{qinit} command prints nothing -if it succeeds. +%You can use MQ with \emph{any} Mercurial repository, and its commands +%only operate within that repository. To get started, simply prepare +%the repository using the \hgxcmd{mq}{qinit} command (see +%figure~\ref{ex:mq:qinit}). This command creates an empty directory +%called \sdirname{.hg/patches}, where MQ will keep its metadata. As +%with many Mercurial commands, the \hgxcmd{mq}{qinit} command prints nothing +%if it succeeds. + +MQ$B$O(B\emph{$B$"$i$f$k(B}Mercurial$B%j%]%8%H%j$G;H$&$3$H$,$G$-!$$=$N%3%^%s%I$O3F!9(B +$B$N%j%]%8%H%j$NCf$K$@$1:nMQ$9$k!%;O$a$k$?$a$K(B\hgxcmd{mq}{qinit}$B%3%^%s%I$G(B +$B%j%]%8%H%j$rMQ0U$9$k!%!J?^(B~\ref{ex:mq:qinit}$B$r;2>H!K(B $B$3$N%3%^%s%I$O(BMQ$B$,%a(B +$B%?%G!<%?$rJ]B8$9$k$?$a$N(B\sdirname{.hg/patches}$B$H$$$&L>A0$N6u$N%G%#%l%/%H(B +$B%j$r:n@.$9$k!%B>$N(BMercurial$B%3%^%s%I$HF1MM$K!$(B\hgxcmd{mq}{qinit}$B%3%^%s%I(B +$B$b@.8y$9$k$H2?$bI=<($7$J$$!%(B \begin{figure}[ht] \interaction{mq.tutorial.qinit} - \caption{Preparing a repository for use with MQ} +% \caption{Preparing a repository for use with MQ} + \caption{MQ$B$r;H$&$?$a$K%j%]%8%H%j$r=`Hw$9$k(B} \label{ex:mq:qinit} \end{figure} \begin{figure}[ht] \interaction{mq.tutorial.qnew} - \caption{Creating a new patch} +% \caption{Creating a new patch} + \caption{$B?7$7$$%Q%C%A$N:n@.(B} \label{ex:mq:qnew} \end{figure}