http://stackoverflow.com/questions/17846551/svn-how-to-set-the-executable-bit-on-a-file
svn uses propset to change file attributes:
propset
svn propset svn:executable ON sync.py