views:

125

answers:

1

I've seen it mentioned that mercurial stores the executable bit on files, but cannot find out how to do it. I'm looking for functionality analogous to svn ps svn:executable '' TARGET.

+7  A: 

Set (or unset) the executable bit on the file, and then hg will mark it as modified. Commit it.

You will need to enable git-style diffs to see the modes in diff output, but it's still there regardless.

Roger Pate