$ hg init my-copy $ cd my-copy $ echo line > file $ hg add file $ hg commit -m 'Added a file'