hgbook
diff en/examples/results/hook.simple.init.out @ 598:7893b3824715
Add a top-level index page.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri Mar 27 00:01:58 2009 -0700 (2009-03-27) |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
line diff
1.1 --- a/en/examples/results/hook.simple.init.out Mon Mar 09 21:37:47 2009 -0700 1.2 +++ b/en/examples/results/hook.simple.init.out Fri Mar 27 00:01:58 2009 -0700 1.3 @@ -1,11 +1,12 @@ 1.4 -$ \textbf{hg init hook-test} 1.5 -$ \textbf{cd hook-test} 1.6 -$ \textbf{echo '[hooks]' >> .hg/hgrc} 1.7 -$ \textbf{echo 'commit = echo committed $HG_NODE' >> .hg/hgrc} 1.8 -$ \textbf{cat .hg/hgrc} 1.9 +<screen><prompt>$</prompt> <userinput>hg init hook-test</userinput> 1.10 +<prompt>$</prompt> <userinput>cd hook-test</userinput> 1.11 +<prompt>$</prompt> <userinput>echo '[hooks]' >> .hg/hgrc</userinput> 1.12 +<prompt>$</prompt> <userinput>echo 'commit = echo committed $HG_NODE' >> .hg/hgrc</userinput> 1.13 +<prompt>$</prompt> <userinput>cat .hg/hgrc</userinput> 1.14 [hooks] 1.15 commit = echo committed $HG_NODE 1.16 -$ \textbf{echo a > a} 1.17 -$ \textbf{hg add a} 1.18 -$ \textbf{hg commit -m 'testing commit hook'} 1.19 +<prompt>$</prompt> <userinput>echo a > a</userinput> 1.20 +<prompt>$</prompt> <userinput>hg add a</userinput> 1.21 +<prompt>$</prompt> <userinput>hg commit -m 'testing commit hook'</userinput> 1.22 committed 1.23 +</screen>