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

Re: auto-props and svn:keywords

From: John Browne <jkb_at_mmhomeoffice.com>
Date: 2004-05-17 00:04:18 CEST

So, if I have a machine set up as a svn server, with apache2, there is no
way to globally configure all svn clients with the same auto-prop settings?
It has to be done individually on each client?

Just want to make sure I understand....it doesn't specifically say in the
manual, that I saw anyway.

Thanks

----- Original Message -----
From: "Ben Collins-Sussman" <sussman@collab.net>
To: "Eric" <eric@sharpdreams.com>
Cc: <users@subversion.tigris.org>
Sent: Sunday, May 16, 2004 8:41 AM
Subject: Re: auto-props and svn:keywords

> On Sun, 2004-05-16 at 01:57, Eric wrote:
> > Currently I manually set replacement tags with `svn propset svn:keywords
> > "Id" *.*`. I know global repository config file
>
> You know that there's no such thing as a "global repository config
> file", right? You haven't created the 'config' file in the repository,
> have you? It should be in your ~/.subversion/ area.
>
>
> > has an option for
> > auto-props, but I cannot get it to work correctly:
> >
> > -- config --
> > (... cut off)
> > [miscellany]
> > enable-auto-props = yes
> >
> > [auto-props]
> > *.txt = svn:eol-style=LF
> > *.png = svn:mime-type=image/png
> > *.jpg = svn:mime-type=image/jpeg
> > *.gif = svn:mime-type=image/gif
> > *.php = svn:keywords="Id";svn:eol-style=LF
> >
> > However, none of them seem to take effect. If I commit a DOS file (\r\n)
or
> > a MAC file (\r\r) it retains the original line endings (while they
should be
> > converted to solely \n). The $Id$ tag is not replaced, either. Is this a
bug
> > or config problem?
>
> Auto-props are only used when you 'svn add' or 'svn import' a file. If
> a file is already under version control, then nothing will happen.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 17 00:04:50 2004

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.