You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Thomas Sturm <th...@thalesgroup.com> on 2007/06/20 13:32:16 UTC

Remaining of 'svn:executable' on changing file to link

Hello,

if you have a link in subversion and this link has the property
'svn:executable' set, it will be not possible to (freshly) checkout.
See <http://subversion.tigris.org/issues/show_bug.cgi?id=2344>

But if you replace an executable file with a link of the same name,
the property 'svn:executable' will remain.

Following setting:

% touch com.sh
% chmod +x com.sh
% svn add com.sh
% svn ci

Property 'svn:executable' is set.
Now change the file to a link:

% svn del com.sh
% ln -s ../bin/com.sh .
% svn add com.sh
% svn ci

Now 'com.sh' was replaced and has property 'svn:special' AND
'svn:executable' although it was deleted and added.

Why is the 'svn:executable' property not deleted, when the file
was deleted and a link with the same name was added?

-- 
Thomas Sturm
Alcatel Transport Solutions Deutschland GmbH    Member of Thales Group
Colditzstrasse 34-36                             ALCA-Tel.   2520 3714
D 12099 Berlin, Germany                          Tel. +49 30 7002 3714

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Remaining of 'svn:executable' on changing file to link

Posted by Thomas Sturm <th...@thalesgroup.com>.
Thomas Sturm wrote:
> Why is the 'svn:executable' property not deleted, when the file
> was deleted and a link with the same name was added?

Can anybody confirm this behaviour or is it simply a misuse of
subversion?

---------------------------------------------------------------------
% svn --version
svn, version 1.4.2 (r22196)
    compiled Mar  8 2007, 12:47:44
---------------------------------------------------------------------

-- 
Thomas Sturm
Thales Rail Signalling Soulutions GmbH
Colditzstrasse 34-36                             ALCA-Tel.   2520 3714
D 12099 Berlin, Germany                          Tel. +49 30 7002 3714

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org