[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: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Sun, 21 Aug 2011 13:55:32 +0200

Guten Tag Andy Canfield,
am Sonntag, 21. August 2011 um 13:21 schrieben Sie:

> In my humble opinion [1] and [3] should have resulted in the file
> attributes stored in the repository being changed.

Subversion doesn't version file attributes.

http://svnbook.red-bean.com/en/1.5/svn.advanced.props.file-portability.html

> So I did an svn delete for that file, then a commit. I restored the file
> from a backup, set the attributes, did an svn add for that file, then a
> commit. Went to another directory and did an svn checkout. OK; now the
> attributes are correct.

Subversion does only set the execute bit if you have set the property
svn:executable on the files which should be executable. I didn't ever
read that svn add sets this property on it's own if the added file is
executable, but you can easy test by looking at the properties. If
there's noe svn:executable, the executable bit was not set by svn
during checkout.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  tschoening_at_am-soft.de
Web:     http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Received on 2011-08-21 13:55:56 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.