hgbook

view it/examples/tour.diff.it @ 781:6ba4c405d262

Minor changes and translation of code snippets for Ch.2.
author Giulio@puck
date Sun Aug 09 17:14:29 2009 +0200 (2009-08-09)
parents
children
line source
1 <!-- BEGIN tour.diff -->
2 <screen><prompt>$</prompt> <userinput>hg diff</userinput>
3 diff -r 2278160e78d4 hello.c
4 --- a/hello.c Sat Aug 16 22:16:53 2008 +0200
5 +++ b/hello.c Fri Jun 05 15:51:51 2009 +0000
6 @@ -8,5 +8,6 @@
7 int main(int argc, char **argv)
8 {
9 printf("ciao, mondo!\");
10 + printf("ancora ciao!\n");
11 return 0;
12 }
13 </screen>
14 <!-- END tour.diff -->