hgbook

diff it/examples/tour.tip.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 11a6ba60bb9e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/it/examples/tour.tip.it	Sun Aug 09 17:14:29 2009 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!-- BEGIN tour.tip -->
     1.5 +<screen><prompt>$</prompt> <userinput>hg tip -vp</userinput>
     1.6 +changeset:   5:764347e47e75
     1.7 +tag:         tip
     1.8 +user:        Bryan O'Sullivan &lt;bos@serpentine.com&gt;
     1.9 +date:        Fri Jun 05 15:51:52 2009 +0000
    1.10 +files:       hello.c
    1.11 +description:
    1.12 +Inserisce una riga con un messaggio aggiuntivo.
    1.13 +
    1.14 +
    1.15 +diff -r 2278160e78d4 -r 764347e47e75 hello.c
    1.16 +--- a/hello.c	Sat Aug 16 22:16:53 2008 +0200
    1.17 ++++ b/hello.c	Fri Jun 05 15:51:52 2009 +0000
    1.18 +@@ -8,5 +8,6 @@
    1.19 + int main(int argc, char **argv)
    1.20 + {
    1.21 + 	printf("ciao, mondo!\");
    1.22 ++	printf("ancora ciao!\n");
    1.23 + 	return 0;
    1.24 + }
    1.25 +
    1.26 +</screen>
    1.27 +<!-- END tour.tip -->