hgbook

changeset 805:c35067358254

Minor adjustments to code snippets for diffs and temporary directory.
author Giulio@puck
date Sat Aug 15 03:10:19 2009 +0200 (2009-08-15)
parents 16c50eea5366
children 18905b63a904
files it/examples/branch-repo.bugfix.it it/examples/branch-repo.merge.it it/examples/branch-repo.new.it it/examples/branching.stable.it it/examples/ch10-notify-config-mail.lst.it it/examples/extdiff.extdiff.it
line diff
     1.1 --- a/it/examples/branch-repo.bugfix.it	Sat Aug 15 03:01:38 2009 +0200
     1.2 +++ b/it/examples/branch-repo.bugfix.it	Sat Aug 15 03:10:19 2009 +0200
     1.3 @@ -6,7 +6,7 @@
     1.4  <prompt>$</prompt> <userinput>echo 'Ho corretto un bug usando solo echo!' &gt;&gt; miofile</userinput>
     1.5  <prompt>$</prompt> <userinput>hg commit -m 'Importante correzione per la versione 1.0.1.'</userinput>
     1.6  <prompt>$</prompt> <userinput>hg push</userinput>
     1.7 -trasmetto a /temp/mioprogetto-1.0.1
     1.8 +trasmetto a /tmp/mioprogetto-1.0.1
     1.9  cerco i cambiamenti
    1.10  aggiungo i changeset
    1.11  aggiungo i manifest
     2.1 --- a/it/examples/branch-repo.merge.it	Sat Aug 15 03:01:38 2009 +0200
     2.2 +++ b/it/examples/branch-repo.merge.it	Sat Aug 15 03:10:19 2009 +0200
     2.3 @@ -4,7 +4,7 @@
     2.4  (unione tra rami, ricordatevi di eseguire il commit)
     2.5  <prompt>$</prompt> <userinput>hg commit -m 'Incorpora la correzione dal ramo 1.0.1.'</userinput>
     2.6  <prompt>$</prompt> <userinput>hg push</userinput>
     2.7 -trasmetto a /temp/mioprogetto
     2.8 +trasmetto a /tmp/mioprogetto
     2.9  cerco i cambiamenti
    2.10  aggiungo i changeset
    2.11  aggiungo i manifest
     3.1 --- a/it/examples/branch-repo.new.it	Sat Aug 15 03:01:38 2009 +0200
     3.2 +++ b/it/examples/branch-repo.new.it	Sat Aug 15 03:10:19 2009 +0200
     3.3 @@ -8,7 +8,7 @@
     3.4  <prompt>$</prompt> <userinput>hg commit -A -m 'Nuova funzione.'</userinput>
     3.5  aggiungo mionuovofile
     3.6  <prompt>$</prompt> <userinput>hg push</userinput>
     3.7 -trasmetto a /temp/mioprogetto
     3.8 +trasmetto a /tmp/mioprogetto
     3.9  cerco i cambiamenti
    3.10  aggiungo i changeset
    3.11  aggiungo i manifest
     4.1 --- a/it/examples/branching.stable.it	Sat Aug 15 03:01:38 2009 +0200
     4.2 +++ b/it/examples/branching.stable.it	Sat Aug 15 03:10:19 2009 +0200
     4.3 @@ -6,7 +6,7 @@
     4.4  <prompt>$</prompt> <userinput>echo 'Questa รจ una correzione a una funzione noiosa.' &gt; miofile</userinput>
     4.5  <prompt>$</prompt> <userinput>hg commit -m 'Corretto un bug'</userinput>
     4.6  <prompt>$</prompt> <userinput>hg push</userinput>
     4.7 -trasmetto a /temp/stabile
     4.8 +trasmetto a /tmp/stabile
     4.9  cerco i cambiamenti
    4.10  aggiungo i changeset
    4.11  aggiungo i manifest
     5.1 --- a/it/examples/ch10-notify-config-mail.lst.it	Sat Aug 15 03:01:38 2009 +0200
     5.2 +++ b/it/examples/ch10-notify-config-mail.lst.it	Sat Aug 15 03:10:19 2009 +0200
     5.3 @@ -11,9 +11,9 @@
     5.4  description: Gestisce l'errore nel caso in cui uno slave non ha alcun master.
     5.5  
     5.6  diffs (54 lines):
     5.7 -diff -r 9d95df7cf2ad -r 3cba9bfe74b5 include/tests.h
     5.8 ---- a/include/tests.h      Wed Aug 02 15:19:52 2006 -0700
     5.9 -+++ b/include/tests.h      Wed Aug 02 15:25:26 2006 -0700
    5.10 +diff -r 9d95df7cf2ad -r 3cba9bfe74b5 include/test.h
    5.11 +--- a/include/test.h      Wed Aug 02 15:19:52 2006 -0700
    5.12 ++++ b/include/test.h      Wed Aug 02 15:25:26 2006 -0700
    5.13  @@ -212,6 +212,15 @@ static __inline__
    5.14  void test_headers(void *h)
    5.15  [...omissis...]</programlisting>
     6.1 --- a/it/examples/extdiff.extdiff.it	Sat Aug 15 03:01:38 2009 +0200
     6.2 +++ b/it/examples/extdiff.extdiff.it	Sat Aug 15 03:10:19 2009 +0200
     6.3 @@ -1,7 +1,7 @@
     6.4  <!-- BEGIN extdiff.extdiff -->
     6.5  <screen><prompt>$</prompt> <userinput>hg extdiff</userinput>
     6.6  --- a.dc7b09ad1097/miofile	2009-06-05 15:50:17.000000000 +0000
     6.7 -+++ /temp/a/miofile	2009-06-05 15:50:16.000000000 +0000
     6.8 ++++ /tmp/a/miofile	2009-06-05 15:50:16.000000000 +0000
     6.9  @@ -1 +1,2 @@
    6.10   La prima riga.
    6.11  +La seconda riga.