You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gerard Samuel <sv...@trini0.org> on 2004/11/28 23:57:15 UTC

Automatic Property Setting

I cant seem to get this working correctly.
I modified /root/.subversion/config on the server to ->
[miscellany]
use-commit-times = yes
enable-auto-props = yes

[auto-props]
*.sh = svn:eol-style=LF;svn:executable
*.txt  = svn:eol-style=LF
*.html = svn:eol-style=LF
*.png  = svn:mime-type=image/png
*.jpg  = svn:mime-type=image/jpeg
*.php  = svn:keywords=Id;svn:eol-style=LF

When I try adding and committing files from a remote client,
$Id$ doesn't get *auto* expanded.

Is there something that Im missing???
Thanks

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

Re: Automatic Property Setting

Posted by Gerard Samuel <sv...@trini0.org>.
Ben Collins-Sussman wrote:

>
> On Nov 28, 2004, at 5:57 PM, Gerard Samuel wrote:
>
>> I cant seem to get this working correctly.
>> I modified /root/.subversion/config on the server to ->
>> [miscellany]
>> use-commit-times = yes
>> enable-auto-props = yes
>>
>> [auto-props]
>> *.sh = svn:eol-style=LF;svn:executable
>> *.txt  = svn:eol-style=LF
>> *.html = svn:eol-style=LF
>> *.png  = svn:mime-type=image/png
>> *.jpg  = svn:mime-type=image/jpeg
>> *.php  = svn:keywords=Id;svn:eol-style=LF
>>
>> When I try adding and committing files from a remote client,
>> $Id$ doesn't get *auto* expanded.
>>
>> Is there something that Im missing???
>>
>
> Yes.  There's no such thing as a 'server side' run-time config file.  
> (Other than the svnserve.conf file in repos/conf/).   You need to set 
> these run-time options in the *client's* run-time config file.

Ok.

>
> See this FAQ, especially the last part:
>
> http://subversion.tigris.org/project_faq.html#auto-props 


The last part would be nice.

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

Re: Automatic Property Setting

Posted by Ben Collins-Sussman <su...@collab.net>.
On Nov 28, 2004, at 5:57 PM, Gerard Samuel wrote:

> I cant seem to get this working correctly.
> I modified /root/.subversion/config on the server to ->
> [miscellany]
> use-commit-times = yes
> enable-auto-props = yes
>
> [auto-props]
> *.sh = svn:eol-style=LF;svn:executable
> *.txt  = svn:eol-style=LF
> *.html = svn:eol-style=LF
> *.png  = svn:mime-type=image/png
> *.jpg  = svn:mime-type=image/jpeg
> *.php  = svn:keywords=Id;svn:eol-style=LF
>
> When I try adding and committing files from a remote client,
> $Id$ doesn't get *auto* expanded.
>
> Is there something that Im missing???
>

Yes.  There's no such thing as a 'server side' run-time config file.  
(Other than the svnserve.conf file in repos/conf/).   You need to set 
these run-time options in the *client's* run-time config file.

See this FAQ, especially the last part:

http://subversion.tigris.org/project_faq.html#auto-props



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