$ mkdir b $ echo b > b/qualchefile.txt $ echo c > b/sorgente.cpp $ mkdir b/d $ echo d > b/d/test.h $ hg add b aggiungo b/d/test.h aggiungo b/qualchefile.txt agginugo b/sorgente.cpp $ hg commit -m "Aggiunti tutti i file nella sottodirectory."