Re: versioning rant
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-21 01:01:53 CET
On Wed, Feb 20, 2002 at 06:49:39PM -0500, Garrett Rooney wrote:
I presume that NetBSD uses CVS keywords in every file for this
> > When I say "need", I mean "need". I have to be able to figure out what
Quite reasonable.
I was just referring to the version number that somebody reports when they
> i've been thinking about this, and it seems like a problem best solved
Sure.
> perhaps a $RepositoryPath$ keyword that expands to the file's actual
Exactly:
static const char __id__[] = "$URL$ $Rev$";
Just make sure that you set the svn:keywords property on each of the files
$ svn pset svn:keywords "url rev" foo.c
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Oct 21 14:37:09 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.