i'm having a hard time understanding hg forget. is it the same as git rm --cached? i.e. will remove the file with the next commit and stop tracking it?
hg forget
git rm --cached