开发者

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

开发者 https://www.devze.com 2023-02-13 07:52 出处:网络
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 curre

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消