[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Bug in Subversion regarding file attributes

From: Stephen Butler <sbutler_at_elego.de>
Date: Sun, 21 Aug 2011 18:16:34 +0200

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
Received on 2011-08-21 18:16:11 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.