$ echo something > somefile
$ hg commit -A -m 'New file'
adding somefile
created new head
$ hg heads
changeset:
branch: foo
tag: tip
parent:
user: Bryan O'Sullivan <bos@serpentine.com>
summary: New file
changeset:
branch: bar
user: Bryan O'Sullivan <bos@serpentine.com>
summary: Third commit