Mercurial > hgbook
comparison en/examples/results/cmdref.diff-p.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 |
comparison
equal
deleted
inserted
replaced
662:44d1363234d2 | 663:0d5935744f87 |
---|---|
1 $ \textbf{echo '[diff]' >> $HGRC} | 1 <screen><prompt>$</prompt> <userinput>echo '[diff]' >> $HGRC</userinput> |
2 $ \textbf{echo 'showfunc = False' >> $HGRC} | 2 <prompt>$</prompt> <userinput>echo 'showfunc = False' >> $HGRC</userinput> |
3 $ \textbf{hg diff} | 3 <prompt>$</prompt> <userinput>hg diff</userinput> |
4 diff -r myfile.c | 4 diff -r myfile.c |
5 | 5 |
6 | 6 |
7 @@ -1,4 +1,4 @@ | 7 @@ -1,4 +1,4 @@ |
8 int myfunc() | 8 int myfunc() |
9 \{ | 9 { |
10 - return 1; | 10 - return 1; |
11 + return 10; | 11 + return 10; |
12 \} | 12 } |
13 $ \textbf{hg diff -p} | 13 <prompt>$</prompt> <userinput>hg diff -p</userinput> |
14 diff -r myfile.c | 14 diff -r myfile.c |
15 | 15 |
16 | 16 |
17 @@ -1,4 +1,4 @@ | 17 @@ -1,4 +1,4 @@ |
18 int myfunc() | 18 int myfunc() |
19 \{ | 19 { |
20 - return 1; | 20 - return 1; |
21 + return 10; | 21 + return 10; |
22 \} | 22 } |
23 </screen> |