# HG changeset patch # User Yoshiki Yazawa # Date 1215889896 -32400 # Node ID 6da6c5741e90ef1e7dcf2db1f025398d03520d98 # Parent cea705a646496de226d67ddf5ed4b844561a66f0 more mq.tex diff -r cea705a64649 -r 6da6c5741e90 ja/mq.tex --- a/ja/mq.tex Sun Jul 13 03:48:07 2008 +0900 +++ b/ja/mq.tex Sun Jul 13 04:11:36 2008 +0900 @@ -1298,20 +1298,31 @@ %\section{Identifying patches} \section{パッチの識別} -MQ commands that work with patches let you refer to a patch either by -using its name or by a number. By name is obvious enough; pass the -name \filename{foo.patch} to \hgxcmd{mq}{qpush}, for example, and it will -push patches until \filename{foo.patch} is applied. +%MQ commands that work with patches let you refer to a patch either by +%using its name or by a number. By name is obvious enough; pass the +%name \filename{foo.patch} to \hgxcmd{mq}{qpush}, for example, and it will +%push patches until \filename{foo.patch} is applied. + +パッチを扱うMQコマンドは,パッチをパッチ名または番号で参照する.名前の場 +合は例えばファイル名\filename{foo.patch}を\hgxcmd{mq}{qpush}に渡す.この +場合,コマンドは\filename{foo.patch}までのファイルをプッシュする. -As a shortcut, you can refer to a patch using both a name and a -numeric offset; \texttt{foo.patch-2} means ``two patches before -\texttt{foo.patch}'', while \texttt{bar.patch+4} means ``four patches -after \texttt{bar.patch}''. +%As a shortcut, you can refer to a patch using both a name and a +%numeric offset; \texttt{foo.patch-2} means ``two patches before +%\texttt{foo.patch}'', while \texttt{bar.patch+4} means ``four patches +%after \texttt{bar.patch}''. -Referring to a patch by index isn't much different. The first patch -printed in the output of \hgxcmd{mq}{qseries} is patch zero (yes, it's one -of those start-at-zero counting systems); the second is patch one; and -so on +ショートカットとして,パッチに名前と数字によるオフセット両方を用いて参照 +することができる.\texttt{foo.patch-2}は``\texttt{foo.patch}の2つ前のパッ +チ''と解釈される.また,\texttt{bar.patch+4}は``\texttt{bar.patch}の4つ +後のパッチ''と解釈される. + +%Referring to a patch by index isn't much different. The first patch +%printed in the output of \hgxcmd{mq}{qseries} is patch zero (yes, it's one +%of those start-at-zero counting systems); the second is patch one; and +%so on + +インデックスがそれほど違わないパッチへの参照は MQ also makes it easy to work with patches when you are using normal Mercurial commands. Every command that accepts a changeset ID will @@ -1322,18 +1333,28 @@ names!\texttt{qtip}}\texttt{qtip} identify the ``bottom-most'' and topmost applied patches, respectively. -These additions to Mercurial's normal tagging capabilities make -dealing with patches even more of a breeze. +%These additions to Mercurial's normal tagging capabilities make +%dealing with patches even more of a breeze. +Mercurialの通常のタグ機能へのこれらの追加は,パッチの取り扱いにおいて大き +な意味を持つ. \begin{itemize} -\item Want to patchbomb a mailing list with your latest series of - changes? +%\item Want to patchbomb a mailing list with your latest series of +% changes? +\item 一連の最新の変更をパッチ爆弾としてメーリングリストへに投げ込みたい + だろうか? \begin{codesample4} hg email qbase:qtip \end{codesample4} - (Don't know what ``patchbombing'' is? See - section~\ref{sec:hgext:patchbomb}.) -\item Need to see all of the patches since \texttt{foo.patch} that - have touched files in a subdirectory of your tree? +% (Don't know what ``patchbombing'' is? See +% section~\ref{sec:hgext:patchbomb}.) +(``patchbombing''が何か分からなければsection~\ref{sec:hgext:patchbomb}を + 参照のこと.) +%\item Need to see all of the patches since \texttt{foo.patch} that +% have touched files in a subdirectory of your tree? + \item \texttt{foo.patch}以降のすべてのパッチを見たいか? + +ツリーの中のサブツリー + \begin{codesample4} hg log -r foo.patch:qtip \emph{subdir} \end{codesample4} diff -r cea705a64649 -r 6da6c5741e90 ja/todo.txt --- a/ja/todo.txt Sun Jul 13 03:48:07 2008 +0900 +++ b/ja/todo.txt Sun Jul 13 04:11:36 2008 +0900 @@ -10,7 +10,7 @@ license.tex mq-collab.tex mq-ref.tex 100% -mq.tex 40% +mq.tex 70% preface.tex 100% srcinstall.tex 100% template.tex