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
Received on Sun May 16 15:48:06 2004