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

Re: how to add $Id$ automatically

From: Soo-Hyun Choi <s.choi_at_hackers.org.uk>
Date: 2007-11-19 17:23:34 CET

Just for the future reference for those who may have similar questions like
me, I have modified my "~/.subversion/config" file as the below with
considering the comments from Andy Levy.

Does this config file look sound?

(snipped)

[miscellany]
enable-auto-props = yes

[auto-props]
*.c = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.cc = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.cpp = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.hh = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
Makefile* = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
README = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
INSTALL = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.java = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.jsp = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.*htm* = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.xml = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.dsp = svn:eol-style=CRLF
*.dsw = svn:eol-style=CRLF
*.tex = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.bbl = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.bib = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.cls = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.sty = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.sh = svn:keywords=Author Date Id Rev
URL;svn:eol-style=native;svn:executable
*.txt = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
*.bmp = svn:mime-type=image/bmp
*.gif = svn:mime-type=image/gif
*.ico = svn:mime-type=image/x-icon
*.png = svn:mime-type=image/png
*.jpeg = svn:mime-type=image/jpeg
*.jpg = svn:mime-type=image/jpeg
*.pdf = svn:mime-type=application/pdf
*.tif = svn:mime-type=image/tiff
*.tiff = svn:mime-type=image/tiff

(snipped)

Thanks,
Soo-Hyun

On Nov 19, 2007 3:53 PM, Andy Levy <andy.levy@gmail.com> wrote:

> On Nov 19, 2007 10:50 AM, Soo-Hyun Choi <s.choi@hackers.org.uk> wrote:
> > Okay, I've read it and understood how it may corrupt those files. Then,
> what
> > would be the general settings? I mean, do people set the SVN properties
> in
> > each directory manually by typing something like "svn propset
> svn:keywords
> > 'Id' *.c{,pp} *.h Makefile"? Or do people use global settings at
> > ~/.subversion/config something like that I did earlier, and make some
> > exceptional rules (If so, how do I do that)?
>
> Most people set their auto-props by file extension. See
>
> http://svnbook.red-bean.com/en/1.4/svn.advanced.props.html#svn.advanced.props.auto
>
Received on Mon Nov 19 17:24:05 2007

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.