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

Feature request for SubWCRev

From: Pete Gonzalez <pgonzalez_at_bluel.com>
Date: 2005-12-07 08:40:40 CET

I propose adding a macro "$WCNOW$" that expands to the current date/time.
This information can of course be obtained in other ways, but it would be
convenient if integrated into the SubWCRev template, since the C++ __DATE__
macro is not available some programming languages.



SubWCRev reads the Subversion status of all files in a working copy
excluding externals. If SrcVersionFile is specified, it is scanned
for special placeholders of the form "$WCxxx$".
SrcVersionFile is then copied to DstVersionFile but the placeholders
are replaced with information about the working copy as follows:

$WCREV$ Highest committed revision number
$WCDATE$ Date of highest committed revision
$WCRANGE$ Update revision range
$WCURL$ Repository URL of the working copy

Placeholders of the form "$WCxxx?TrueText:FalseText$" are replaced with
TrueText if the tested condition is true, and FalseText if false.

$WCMODS$ True if local modifications found
$WCMIXED$ True if mixed update revisions found

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 7 08:41:55 2005

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.