Ok I understand better.
Thanks a lot for your help.
On 11/14/06, Ryan Schmidt <subversion-2006d@ryandesign.com> wrote:
> On Nov 13, 2006, at 10:09, Guillaume Membré wrote:
>
> > I have setup a svn repos via http. I would like to setup the repos to
> > add automatically props on new files. I have seen that it can be done
> > via the svnserve.conf
> > here is my svnserve.conf :
> > [config]
> > enable-auto-props=true
> > *.* = svn:keywords="Id"
> >
> > but it doesn't work.
> >
> > -=[gmembre]=(~/Mes documents/svn_temp/creerEAR)> svn add gui.java
> > A gui.java
> > -=[gmembre]=(~/Mes documents/svn_temp/creerEAR)> svn commit -m
> > "commit test"
> > Ajout creerEAR\gui.java
> > Transmission des données ..
> > Révision 32 propagée.
> > -=[gmembre]=(~/Mes documents/svn_temp/creerEAR)> svn pl gui.java
> >
> > I must have done something wrong but I don't find what.
> > Could anyone help me please ?
>
> You misunderstand.
>
> The server doesn't do it; the client does.
>
> Those settings don't go in the server's svnserve.conf; they go in the
> client's Subversion config file.
>
> If you absolutely require certain files to have certain properties,
> then you must additionally write a pre-commit hook script which
> rejects commits of files that do not conform to your property
> requirements.
>
> Additionally, the line
>
> > *.* = svn:keywords="Id"
>
> should instead be
>
> *.* = svn:keywords=Id
>
> (Do not surround the property value in quotes.)
>
> or even better
>
> * = svn:keywords=Id
>
> (unless you really do want to exclude files whose names do not
> include a period from this rule)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 14 09:49:48 2006