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

Re: Is it safe to delete the svn:executable property on text files?

From: David Ripton <dripton_at_ripton.net>
Date: 2005-06-06 18:27:27 CEST

On 2005.06.06 10:00:18 +0000, Cem Karan wrote:
> I just discovered that a bunch of my .c and .h files have the
> svn:executable property when they don't need it. Is it possible to
> SAFELY delete the svn:executable property?

Yes.

> As in, will subversion
> do anything funny with the files that I should be worried about?

The only magic here is setting or unsetting execute permission on the
file in the working copy on checkout, based on the value of the
property.

> Also, is there any point to making this conversion? I mean, will it
> make the commits any smaller, or is this much ado about nothing?

It's not going to make a noticable performance difference either way.

For .c and .h files, it's just a matter of cleanliness, since they're
not usefully executable even with execute permission set. (If you try
running one on Unix, you'll get a "command not found" almost all of the
time. Unless you've written a C / shell quine, which you're highly
unlikely to do accidentally.)

-- 
David Ripton    dripton@ripton.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 19:17:29 2005

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