On Aug 21, 2011, at 13:21 , Andy Canfield wrote:

> I created a repository and created a subdirectory in it named 'scripts'. In 
> this are a half-dozen Linux shell scripts. Unfortunately, I set the execute 
> flag on only five of them; the sixth was untested as of my first commit so I 
> had never noticed that the execute attribute was unset.
> 
> [1] I set the execute attribute and did a commit, but the file was not 
> updated in the repository. Apparently the change in atributes was not 
> recognized as a file change by Subversion.


To set the executable attribute of a file that's already under version
control, set its svn:executable property.

$ svn propset svn:executable 1 myshellscript
$ svn commit -m "Set the executable bit for that last script."

Your Subversion client will set the OS-level executable bit for you.
The property value given to the propset command will be ignored.
Like other boolean properties, the value will be "*", without quotes.

Regards,
Steve

--
Stephen Butler | Senior Consultant
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
tel: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194


Reply via email to