When I clone out a Mercurial repository it usually shows files as being modified when they have not. This can happen when I do the following steps;
$ hg clone <url>
$ cd project
$ hg st
.... large number of files with M at the start for modified
$ hg diff
.... no result.
I think this is because the files have had their permissions changed in the process so it seems like the files are different since hg doesn't actually do a diff on each file when hg st is used. I know this can happen in git too.
if I do a hg commit then the problem does go away but it means I have to do an empty commit and that isn't particularly nice.
I've tried doing various things like hg st --all to get more information and it only shows that some files are modified - not all. I can't see a pattern.
When I'm doing my hg clone its happening on my network drive that I used because its backed up - I'm not sure if this could be whats causing the file permissions to change? I'm currently running Ubunut 9.04.
is there a way that I can get hg st to correct itself somehow?
The project in question (although its happened with others) is http://bitbucket.org/d0ugal/django-bursar/overview/ as I'm looking to do some work on it.