Mercurial > hgbook
diff en/examples/results/hook.simple.init.out @ 663:0d5935744f87
Switch from LaTeX to XML for examples.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 09 Mar 2009 21:39:23 -0700 |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
line wrap: on
line diff
--- a/en/examples/results/hook.simple.init.out Mon Mar 09 21:37:47 2009 -0700 +++ b/en/examples/results/hook.simple.init.out Mon Mar 09 21:39:23 2009 -0700 @@ -1,11 +1,12 @@ -$ \textbf{hg init hook-test} -$ \textbf{cd hook-test} -$ \textbf{echo '[hooks]' >> .hg/hgrc} -$ \textbf{echo 'commit = echo committed $HG_NODE' >> .hg/hgrc} -$ \textbf{cat .hg/hgrc} +<screen><prompt>$</prompt> <userinput>hg init hook-test</userinput> +<prompt>$</prompt> <userinput>cd hook-test</userinput> +<prompt>$</prompt> <userinput>echo '[hooks]' >> .hg/hgrc</userinput> +<prompt>$</prompt> <userinput>echo 'commit = echo committed $HG_NODE' >> .hg/hgrc</userinput> +<prompt>$</prompt> <userinput>cat .hg/hgrc</userinput> [hooks] commit = echo committed $HG_NODE -$ \textbf{echo a > a} -$ \textbf{hg add a} -$ \textbf{hg commit -m 'testing commit hook'} +<prompt>$</prompt> <userinput>echo a > a</userinput> +<prompt>$</prompt> <userinput>hg add a</userinput> +<prompt>$</prompt> <userinput>hg commit -m 'testing commit hook'</userinput> committed +</screen>