v2k
v2k

Reputation: 1093

Mercurial/Git shared repository via Samba used by both Linux and Windows

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 problem 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.

Upvotes: 1

Views: 1373

Answers (1)

v2k
v2k

Reputation: 1093

The problem was NTFS file permissions had changed; only visible to the linux version of hg.

Upvotes: 1

Related Questions