hg status issue on Windows with network servers

TK Soh teekaysoh at gmail.com
Thu Mar 13 07:17:19 CDT 2008


On Mon, Mar 10, 2008 at 10:37 PM, Alexis S. L. Carvalho
<alexis at cecm.usp.br> wrote:
> Thus spake TK Soh:
>
> > We recently added a netapp file server that serve both Unix (NFS) and
>  > Windows (CIFS) users. Naturally, I use Mercurial on both platforms.
>  >
>  > I mapped the server on XP (SP2) to drive X:, open a cmd window in a
>  > repo that has been reported clean by 'hg st' on Unix (the repo has
>  > been created and maintained on Unix), and entered 'hg st' command,
>  > then a list of files showed up as being modified, while 'hg diff
>  > --git' give an empty output. It turns out that these files have had
>  > their executable permission bits enabled.
>
>  The following patch should make this better, but you'll probably have
>  some problems if you use "hg update -C" on windows and then try to use
>  status/diff/commit on unix - hg won't show any file differences (which
>  is fine), but if you change some executable file and then commit it,
>  it'll probably silently lose the exec bit.
>
>  Alexis

Just wondering, it this fix going to make it into 1.0?


More information about the Mercurial-devel mailing list