Mercurial loses 'executable' status of files

Jon Ribbens jon-mercurial at unequivocal.co.uk
Thu Apr 19 18:15:59 UTC 2012


I know that Mercurial is not supposed to store file permissions.
However I am under the impression that it *is* supposed to store
'executable' status. My problem is that it doesn't:

$ hg version | head -1
Mercurial Distributed SCM (version 1.4.3)
$ ls -l file.txt
-rw-r--r-- 1 jribbens jribbens  7352 Mar 28 17:45 file.txt
$ hg st -A file.txt
C file.txt
$ chmod 755 file.txt
$ ls -l file.txt
-rwxr-xr-x 1 jribbens jribbens  7352 Mar 28 17:45 file.txt
$ hg st -A file.txt
C file.txt

Any suggestions?



More information about the Mercurial mailing list