$ cd .. $ hg clone hello my-new-hello updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd my-new-hello $ sed -i '/printf/i\\tprintf("once more, hello.\\n");' hello.c $ hg commit -m 'A new hello for a new day.'