The repository is on a linux box and accessed via samba for windows.
In general things appear to work. Git has some trouble with performance on windows, but works otherwise. Because of this, I'm currently only running mercurial.
The pr开发者_JAVA百科oblem is that "hg status" sometimes returns different results on windows vs linux. They are both running off of the same repository.
What can cause this difference? How can it be fixed?
Submitting these phantom changes endes up producing this in the change log:
=== (+0,-0) readme.txt ===
old mode 100644
new mode 100755
which I guess means it's an ntfs file permissions issue.
The problem was NTFS file permissions had changed; only visible to the linux version of hg.
精彩评论