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

Re: [PATCH] FAQ: getting the working copy revision into the source

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-05-07 20:51:10 CEST

Scott Lawrence wrote:

> Appended below is a FAQ for the question "How do I get the revision
> number into my source?"
>
>

As well as what Sussman said, it might be nice to give several ways to get the
revision number, for example, this one:

        http://www.contactor.se/~dast/svnusers/archive-2004-03/2168.shtml

(which could definitely be adapted to be part of a Makefile invocation), as well
as the recent discussion on the SVNWCRev.exe utility from the TSVN list. Not
everyone can use Makefile's (or is running a UNIX^H^H^Hnix derivative ;)...

You should probably add something like I had in the above message about 'svn up'
and mixed revision WC's, since that will bite some people more than others.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 8 01:50:15 2004

This is an archived mail posted to the Subversion Dev mailing list.