The Mercurial Forget action marks the repository after the next commit. This only removes files from the current branch, not from the entire project history, and it does not delete them from the working directory.