I have a few files that have been executable before svn adding them. They have the svn:executable property set. Now, a few other files were checked in without the executable bit do not have it, and I want to set the svn:executable property:
$ svn propset svn:executable on *.cgi
Then I check the status and even the files with the svn:executable have been modified:
$ svn diff
Property changes on: a.cgi
___________________________________________________________________
Modified: svn:executable
-
+ *
Property changes on: b.cgi
___________________________________________________________________
Added: svn:executable
+ *
a.cgi should not be modified. I want to add the svn:executable bit to be set in the same way as it is on the other files, but can't figure out the command to do it.
svn propset svn:executable on (...)
. And the answer to the question should befor f in *.cgi; do if [ ! -x $f ]; then svn ps (...); fi; done
, and just commit the modified files. Then move on.svn:executable
somewhere in that second snippet. Maybesvn ps svn:executable on $f;
?svn st -uq
you'd see only the changes