hgbook

diff it/examples/branching.merge.it @ 798:7f684caba2d0

Minor changes and translation of code snippets for Ch.6.
author Giulio@puck
date Thu Aug 13 23:46:21 2009 +0200 (2009-08-13)
parents
children 5bbebcdfb533
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/it/examples/branching.merge.it	Thu Aug 13 23:46:21 2009 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!-- BEGIN branching.merge -->
     1.5 +<screen><prompt>$</prompt> <userinput>cd ../principale</userinput>
     1.6 +<prompt>$</prompt> <userinput>hg pull ../stabile</userinput>
     1.7 +estraggo da ../stabile
     1.8 +cerco i cambiamenti
     1.9 +aggiungo i changeset
    1.10 +aggiungo i manifest
    1.11 +aggiungo i cambiamenti ai file
    1.12 +aggiunti 1 changeset con 1 cambiamenti a 1 file (+1 teste)
    1.13 +(eseguite 'hg heads' per vedere le teste, 'hg merge' per unire)
    1.14 +<prompt>$</prompt> <userinput>hg merge</userinput>
    1.15 +unisco miofile
    1.16 +0 file aggiornati, 1 file uniti, 0 file rimossi, 0 file irrisolti
    1.17 +(unione tra rami, ricordatevi di eseguire il commit)
    1.18 +<prompt>$</prompt> <userinput>hg commit -m 'Incorpora la correzione del bug dal ramo stabile.'</userinput>
    1.19 +<prompt>$</prompt> <userinput>cat miofile</userinput>
    1.20 +Questa è una correzione a una funzione noiosa.
    1.21 +Questa è nuova ed eccitante!
    1.22 +</screen>
    1.23 +<!-- END branching.merge -->