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

RE: svn:executable property

From: Barry Scott <barry.alan.scott_at_ntlworld.com>
Date: 2002-09-30 23:32:45 CEST

> No real need to make it OS dependent, as far as I know. Windows has
> no executable bit (using file extension for that mechanism) and Unix
> has only the executable bit (and doesn't give a rip about file
> extension. So I think keeping things OS-ignorant is benign.

This means that you have to make sure that APR never sets the execute
bit on not-Unix to support the client being OS independent. That's an
obscure dependency.

If someone finds a use for execute bit on Windows the client code
will not work right. os.stat in Python for example sets execute bit
for .exe files.

When someone reads the code and sees that on windows you run this
logic they should be surprised and wonder how it ever works.

I think it should be OS dependent so that it is clear that its not
supposed to work on not-Unix. Or at least test for execute bits capability
being supported on the platform.

BArry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 30 23:33:26 2002

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

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