I have a repository where:
> hg st
shows that my working directory has some uncommitted changes, while
> hg diff
> h
I just deleted the files that showed up as modified (make a backup if needed) which caused all the files to show up with an ! next to it when I ran
hg st
After that I ran the following command to revert the files (which were already checked in):
hg revert --all --no-backup
and that fixed the problem