You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Joshua Root <jm...@macports.org> on 2013/03/02 16:53:24 UTC
Re: Working copy permissions changed by keyword substitution
On 2013-2-23 15:48 , Joshua Root wrote:
> On 2013-2-23 05:30 , Daniel Shahaf wrote:
>> You need to use '' not "" to escape the $. (see sh(1) man page)
>
> Argh, I knew that, but it just didn't register. Thanks.
>
>> As to your actual problem: I expect the permissions will be reset every
>> time an update or switch changes the file, even if it doesn't have
>> svn:keywords set. Is it so?
>
> No, only files in which keyword substitution happens have their
> permissions changed. (I've only actually tested with Id since that's all
> my normal workflow uses.)
>
> Full, working repro script attached. I'm on OS X 10.7.5 using svn 1.7.8 BTW.
Ping. Am I allowed to file an issue for this?
- Josh
(Please Cc me on replies.)
Re: Working copy permissions changed by keyword substitution
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Joshua Root wrote on Sun, Mar 03, 2013 at 02:53:24 +1100:
> On 2013-2-23 15:48 , Joshua Root wrote:
> > On 2013-2-23 05:30 , Daniel Shahaf wrote:
> >> You need to use '' not "" to escape the $. (see sh(1) man page)
> >
> > Argh, I knew that, but it just didn't register. Thanks.
> >
> >> As to your actual problem: I expect the permissions will be reset every
> >> time an update or switch changes the file, even if it doesn't have
> >> svn:keywords set. Is it so?
> >
> > No, only files in which keyword substitution happens have their
> > permissions changed. (I've only actually tested with Id since that's all
> > my normal workflow uses.)
> >
> > Full, working repro script attached. I'm on OS X 10.7.5 using svn 1.7.8 BTW.
>
> Ping. Am I allowed to file an issue for this?
>
+1, please. I suppose we could copy the permissions of the working-tree
file before we replace it.
Thanks,
Daniel
> - Josh
> (Please Cc me on replies.)