forget

To remove a file from the repository on the next commit but not remove it from the file system:

hg forget /file/name