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

Re: 'stamping' a la RCS '$Header$'?

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-05-02 21:59:26 CEST

Nathan Fiedler <nfiedler@bluemarsh.com> writes:
> By the way, the keywords are: Author, Date, Rev, and URL. Simply set the
> property described below to "Author Date Rev URL". Then put $Author: $
> or whatever in your files. Be sure to have the space after the colon
> though.

Actually, "$Author$" should work as an initial value.

> While these keywords address the important bits of information, I would
> like to add my vote for an all-inclusive keyword, such as Id or Header.

Yeah. We had some proposals for a super-sophisticated keyword "alias"
mechanism, where people could define custom combination keywords. But
it was never clear where the mapping would be stored (or maybe I'm
just not remembering the proposals well enough?)

Unless someone has a concrete description of how this would work,
including where the mappings get defined, I'm +1 on just defining

   $Id$ ===> "$Id Rev <xxx>, jrandom, <date> $"

I think it would be a mistake to include URL in $Id$, though. URLs
tend to be long, and so most people would want to put them on a line
right below the $Id$.

Or maybe $Id$ should be

   $Id$ ===> "$Id http://some.url/blah/blah/andsoforth @ 1661"

and not include Author and Date?

Either way, we should avoid all four on the same line. It usually
won't fit in 80 columns.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 2 21:58:49 2002

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.