$ \textbf{echo something > somefile} $ \textbf{hg commit -A -m 'New file'} adding somefile $ \textbf{hg heads} changeset: branch: foo tag: tip parent: user: Bryan O'Sullivan summary: New file changeset: branch: bar user: Bryan O'Sullivan summary: Third commit