The SVN Range in
ItemTemplate should not include the date, only the build number. The formula
* Set REV = %CALC{"$SUBSTITUTE(%WIKIVERSION%,.*Rev:,,,r)"}%
Worked differently on TWiki.org than on Develop:
- On TO it is "build number $"
- On DTO it resolves to "day name"
I wanted also to be rid of the $, but the following failed on TO:
Any help appreciated.
--
MC
Could it be because %WIKIVERSION% (TWiki-6.1.0-trunk, Mon, 15 May 2023, build 31065) contains a comma?
CC
Ugh. Is there a quoting solution to this? That's horrid.
MC
Quting is currently not supported. Workaround: Translate the comma into an unused temp char, do the substitution, translate back: $TRANSLATE($SUBSTITUTE($TRANSLATE)))
--
PTh
Thanks but am discarding as I can't get my brain around this and am unwilling to waste any more time on
GetRev.
--
MC
Undeferred, post Dakar
CC
Quoting text to escape comma is not supported at this time.
--
PTh