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

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

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-07-02 17:40:43 CEST

Thomas Sturm <thomas.sturm@thalesgroup.com> writes:
> 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?

Is ../bin/com.sh an executable file? (There may still be a bug in
Subversion here, I'm just trying to figure out exactly what kind of
bug. If you could test with an executable and non-executable link
target and let us know the result, that would be great.)

-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 2 17:40:49 2007

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.