svn: how to set the executable bit on a file?

Adam Matan picture Adam Matan · Jul 25, 2013 · Viewed 27.6k times · Source

How do I set the executable bit on a file in an svn repository?

I've tried:

chmod +x sync.py
svn commit sync.py -m "Make sync.py executable"

But the change was not propagated.

How do I set the executable bit in the svn repository?

Answer

Adam Matan picture Adam Matan · Jul 25, 2013

svn uses propset to change file attributes:

svn propset svn:executable ON sync.py