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,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org]. |
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.