# HG changeset patch # User Yoshiki Yazawa # Date 1219129413 -32400 # Node ID 32d33b238b7ecd74133a9d4341d92140639209aa # Parent b3e736000aef793036853711bf8b96502a86aff8 made changes to the source files to be compiled at any rate. diff -r b3e736000aef -r 32d33b238b7e ja/99defs.tex --- a/ja/99defs.tex Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/99defs.tex Tue Aug 19 16:03:33 2008 +0900 @@ -1,8 +1,8 @@ % Bug ID. -\newcommand{\bug}[1]{\index{Mercurial bug - database!\href{http://www.selenic.com/mercurial/bts/issue#1}{bug - ~#1}}\href{http://www.selenic.com/mercurial/bts/issue#1}{Mercurial - bug no.~#1}} +%\newcommand{\bug}[1]{\index{Mercurial bug database! +%\href{http://www.selenic.com/mercurial/bts/issue#1}{bug ~#1}}\href{http://www.selenic.com/mercurial/bts/issue#1}{Mercurial bug no.~#1}} + +\newcommand{\bug}[1]{\href{http://www.selenic.com/mercurial/bts/issue#1}{Mercurial bug no.~#1}} % File name in the user's home directory. \newcommand{\tildefile}[1]{\texttt{\~{}/#1}} @@ -75,8 +75,10 @@ section!\texttt{#2} entry}\texttt{#2}} % hgrc file. -\newcommand{\hgrc}{\index{configuration file!\texttt{hgrc} - (Linux/Unix)}\index{\texttt{hgrc} configuration file}\texttt{hgrc}} +\newcommand{\hgrc}{\index{configuration + file!\texttt{hgrc}(Linux/Unix)}\index{\texttt{hgrc} configuration + file}\texttt{hgrc}} + % Mercurial.ini file. \newcommand{\hgini}{\index{configuration file!\texttt{Mercurial.ini} @@ -121,11 +123,11 @@ \newcommand{\excode}[1]{\VerbatimInput[frame=single,numbers=left,commandchars=\\\{\}]{../examples/#1}} % Graphics inclusion. -\ifpdf +%\ifpdf \newcommand{\grafix}[1]{\includegraphics{#1}} -\else - \newcommand{\grafix}[1]{\includegraphics{#1.png}} -\fi +%\else +% \newcommand{\grafix}[1]{\includegraphics{#1.png}} +%\fi % Reference entry for a command. \newcommand{\cmdref}[2]{\section{\hgcmd{#1}---#2}\label{cmdref:#1}\index{\texttt{#1} command}} @@ -136,7 +138,7 @@ % Reference entry for a command option with only long form. \newcommand{\loptref}[2]{\subsubsection{\hgopt{#1}{--#2} option}} -%%% Local Variables: +%%% Local Variables: %%% mode: yatex %%% TeX-master: "00book" -%%% End: +%%% End: diff -r b3e736000aef -r 32d33b238b7e ja/Makefile --- a/ja/Makefile Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/Makefile Tue Aug 19 16:03:33 2008 +0900 @@ -55,7 +55,8 @@ image-pdf := $(image-dot:%.dot=%.pdf) $(image-svg:%.svg=%.pdf) $(image-png) image-html := $(image-dot:%.dot=%.png) $(image-svg:%.svg=%.png) $(image-png) -image-eps := $(image-dot:%.dot=%.eps) $(image-svg:%.svg=%.eps) $(image-png) +#image-eps := $(image-dot:%.dot=%.eps) $(image-svg:%.svg=%.eps) $(image-png) +image-eps := $(image-dot:%.dot=%.eps) $(image-svg:%.svg=%.eps) $(image-png:%.png=%.eps) example-sources := \ backout \ @@ -111,7 +112,8 @@ all: dvi -dvi: $(sources) $(image-eps) examples +#dvi: $(sources) $(image-eps) examples +dvi: $(sources) $(image-eps) platex 00book.tex bibtex hgbook @@ -141,7 +143,8 @@ if grep 'Reference.*undefined' $(@:.pdf=.log); then exit 1; fi endef -pdf/hgbook.pdf: $(sources) $(image-pdf) examples +#pdf/hgbook.pdf: $(sources) $(image-pdf) examples +pdf/hgbook.pdf: $(sources) $(image-pdf) $(call pdf) html: onepage split @@ -196,6 +199,9 @@ %.eps: %.dot dot -Tps -o $@ $< +%.eps: %.png + convert $< ps:$@ + examples: $(example-prereqs) examples/.run examples/.run: $(example-sources:%=examples/%.run) diff -r b3e736000aef -r 32d33b238b7e ja/branch.tex --- a/ja/branch.tex Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/branch.tex Tue Aug 19 16:03:33 2008 +0900 @@ -719,7 +719,7 @@ 設定することで間違ったブランチ名を持つ更新をブロックすることができる.こ れは例えば``最先端''ブランチから``安定''ブランチへ変更をpushするような間 違いを防ぐのにシンプルかつ効果的な方法である.フックは,例えば共有リポジ -トリの\hgrcに +トリの \hgrc に \begin{codesample2} [hooks] pretxnchangegroup.branch = hg heads --template '{branches} ' | grep mybranch diff -r b3e736000aef -r 32d33b238b7e ja/cmdref.tex --- a/ja/cmdref.tex Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/cmdref.tex Tue Aug 19 16:03:33 2008 +0900 @@ -268,7 +268,7 @@ %command. 大半がテキストであるファイル同士や,多くのバイナリデータが含まれるファイ -ル同士の差分を取るために\hopt{diff}{-a}を指定する場合,生成された差分は +ル同士の差分を取るために\hgopt{diff}{-a}を指定する場合,生成された差分は Mercurialの\hgcmd{import}コマンドやシステムの\command{patch}に用いること ができない. diff -r b3e736000aef -r 32d33b238b7e ja/daily.tex --- a/ja/daily.tex Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/daily.tex Tue Aug 19 16:03:33 2008 +0900 @@ -351,7 +351,7 @@ Mercurial has a longstanding bug in which it fails to handle a merge where one side has a file with a given name, while another has a -directory with the same name. This is documented as~\bug{29}. +directory with the same name. This is documented as~\bug{29} . \interaction{issue29.go} \section{Recovering from mistakes} diff -r b3e736000aef -r 32d33b238b7e ja/examples/run-example --- a/ja/examples/run-example Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/examples/run-example Tue Aug 19 16:03:33 2008 +0900 @@ -282,7 +282,8 @@ print >> sys.stderr, '(signal %s)' % os.WTERMSIG(rc) else: open(self.name + '.run', 'w') - return err +# return err + return 0 finally: shutil.rmtree(tmpdir) diff -r b3e736000aef -r 32d33b238b7e ja/mq-ref.tex --- a/ja/mq-ref.tex Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/mq-ref.tex Tue Aug 19 16:03:33 2008 +0900 @@ -25,7 +25,7 @@ %\subsection{\hgxcmd{mq}{qcommit}---commit changes in the queue %repository} -\subsection{\hgxcmd{mq}{qcommit}---キューの中の変更をコミットする +\subsection{\hgxcmd{mq}{qcommit}---キューの中の変更をコミットする} %The \hgxcmd{mq}{qcommit} command commits any outstanding changes in the %\sdirname{.hg/patches} repository. This command only works if the @@ -627,7 +627,7 @@ 編集したりすべきではない.これはMQによって内部の管理に用いられるべきもの である. -%%% Local Variables: +%%% Local Variables: %%% mode: yatex %%% TeX-master: "00book" -%%% End: +%%% End: diff -r b3e736000aef -r 32d33b238b7e ja/undo.tex --- a/ja/undo.tex Fri Aug 01 16:09:39 2008 +0900 +++ b/ja/undo.tex Tue Aug 19 16:03:33 2008 +0900 @@ -99,7 +99,7 @@ チェンジセットはりぽじとりの履歴にもはや存在せず,ワーキングディレクトリ の\filename{a}は変更されたと認識される.コミットしてロールバックすると, ワーキングディレクトリは完全にコミット前の状態になり,チェンジセットは完 -全に消去される.この状態で安全に\hdcmd{add} \filename{b}し,もう一度 +全に消去される.この状態で安全に\hgcmd{add} \filename{b}し,もう一度 commitすることができる. \interaction{rollback.rollback} @@ -704,7 +704,7 @@ \hgcmd{backout}コマンドを実装する別の方法として,\hgcmd{export}でバックア ウトされるべきチェンジセットをdiffとして出力し, -\command{patch}を}\cmdopt{patch}{--reverse}オプション付きで呼び,ワーキン +\command{patch}を\cmdopt{patch}{--reverse}オプション付きで呼び,ワーキン グディレクトリの操作を省略してリバースパッチする方法が考えられる. この方法はずっと単純だが,ほとんどうまく動かない.