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

Re: Lack of $Id$ support - FAQ

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-07-17 00:52:18 CEST

* Garrett Rooney <rooneg@electricjellyfish.net> [2004-07-16 16:40]:
> Paul Campbell wrote:
> >examples
> >keywords such as LOG and ID, .cvsignore
> >
> >In my case,
> >I have over a thousand files in which we have
> >been using ID when we need to verify that the
> >user has a correct version. The need to do a
> >propset for so many files is onerous
> >( difficult and time consuming )
>
> Umm, there is support for the svn:ignore property, which is essentially
> equivalent to .cvsignore, and there is an $Id$ keyword, you just have to
> set svn:keywords to Id on each file to get it to expand the keyword.
> Unlike CVS subversion does not default to expanding keywords.

I got the sense that he knows (and is frustrated) about the need to set
svn:keywords to get the $Id$ behavior. The pain of doing that is somewhat
lessened by auto-props, but if you have a lot of files in the repository to
set svn:keywords on, it can be a good-sized task.

That said, I like the fact that svn:keywords is not on by default. Why?
Because the whole philosophy is that Subversion will *not* change your data
without you explicitly telling it to. The inconvenience of setting properties
on many files, if you haven't set up auto-props, can be large. But I don't
find it as compelling as the reassurance that my files will not be silently
changed (read: possibly broken) behind my back because I forgot to disable
keyword substitution (as you must in CVS).

-- Mike

-- 
Michael W. Thelen
Fall seven times, stand up eight.
                -- Japanese proverb

Received on Sat Jul 17 00:53:43 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.