$ echo qualcosa > qualchefile
$ hg commit -A -m 'Nuovo file.'
aggiungo qualchefile
creata una nuova testa
$ hg heads
changeset: 3:859c842ea668
ramo: foo
etichetta: tip
genitore: 1:b15761055392
utente: Bryan O'Sullivan <bos@serpentine.com>
data: Fri Jun 05 15:49:04 2009 +0000
sommario: Nuovo file.
changeset: 2:4dce38140953
ramo: bar
utente: Bryan O'Sullivan <bos@serpentine.com>
data: Fri Jun 05 15:49:00 2009 +0000
sommario: Terzo commit.