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

Re: $Id$ string?

From: Benjamin Zeiss <bnz_at_zeiss.net>
Date: 2004-01-07 23:34:12 CET

hello,

--On Wednesday, January 07, 2004 14:26:36 -0800 Nicolas Bock
<nicolasbock@mac.com> wrote:

> I just switched from RCS to svn. I used to use the $Id$ string in my
> source files before. This string gets replaced with the current revision
> number and some other information on checkin by the RCS checkin script.
> Does something like this exist in svn? Can I tell svn to replace some
> string in my source files with the current revision number?

yes...you need to set the svn:keywords property. check the svn book for
details. also check the .subversion/config for an example how you could
automatically set these properties to files matching certain filename
patterns.

--
Benjamin Zeiss
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 7 23:35:10 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.