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

SubWCRev and ternary keywords and $WCRANGE$ colon

From: Craig McQueen <craig.mcqueen_at_beamcommunications.com>
Date: Mon, 11 Apr 2011 23:56:35 -0700

Hello,

I'm trying to use the following keyword substitution with SubWCRev:

#define SVN_REVISION "$WCMIXED?$WCRANGE$:$WCREV$$"

The intention is, if there is a single revision (not mixed), then I get the latest commit revision (rather than latest update revision). If there is a mixed revision range, I get the range.

But, I find that when I have mixed ranges, such as 1234:1280, I'm getting a resulting string of "1234" instead of "1234:1280". It seems that the $WCMIXED?...:...$ keyword is stopping at the colon character contained within the substituted $WCRANGE$ string, rather than the colon character of the expression.

This seems like a bug to me. Do developers agree?

Regards,
Craig McQueen

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2719013

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-12 08:56:49 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.