# HG changeset patch # User Yoshiki Yazawa # Date 1206825215 -32400 # Node ID cadfd8bf5f153dde412154aa9de5dafe682577f7 # Parent d520107e32e7dc3ccd7322462a6e1201cf8eac78 more mq.tex diff -r d520107e32e7 -r cadfd8bf5f15 ja/mq.tex --- 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を使ってみる} \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はエクステンションとして実装されているので,使う前に明示的に有効にする +必要がある.(何もダウンロードする必要はない.MQは通常のMercurialに同梱さ +れている)MQを有効にするには\tildefile{.hgrc}ファイルを編集し, +図~\ref{ex:mq:config}のように設定を追加する. \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エクステンションを有効にするために\tildefile{.hgrc}に追加する内容} \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}. + +エクステンションが有効化されると一連のコマンドが利用可能になる.エクステ +ンションが有効であることを確認するためには,\hgcmd{help}で +\hgxcmd{mq}{qinit}があることを確認する.図~\ref{ex:mq:enabled}の例を参照 +されたい. \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が有効であることの確認法} \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は\emph{あらゆる}Mercurialリポジトリで使うことができ,そのコマンドは各々 +のリポジトリの中にだけ作用する.始めるために\hgxcmd{mq}{qinit}コマンドで +リポジトリを用意する.(図~\ref{ex:mq:qinit}を参照) このコマンドはMQがメ +タデータを保存するための\sdirname{.hg/patches}という名前の空のディレクト +リを作成する.他のMercurialコマンドと同様に,\hgxcmd{mq}{qinit}コマンド +も成功すると何も表示しない. \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を使うためにリポジトリを準備する} \label{ex:mq:qinit} \end{figure} \begin{figure}[ht] \interaction{mq.tutorial.qnew} - \caption{Creating a new patch} +% \caption{Creating a new patch} + \caption{新しいパッチの作成} \label{ex:mq:qnew} \end{figure} diff -r d520107e32e7 -r cadfd8bf5f15 ja/todo.txt --- a/ja/todo.txt Sun Mar 30 03:34:33 2008 +0900 +++ b/ja/todo.txt Sun Mar 30 06:13:35 2008 +0900 @@ -10,7 +10,7 @@ license.tex mq-collab.tex mq-ref.tex -mq.tex 9% +mq.tex 25% preface.tex srcinstall.tex template.tex