SID-00435: Rev info for a prior rev
Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
|
Category: |
CategoryApplications |
Server OS: |
|
Last update: |
10 years ago |
I'm trying to use
SpreadSheetPlugin to get REVINFO for a prior revision of a topic.
I can do this:
%CALC{"$SET(revC, %REVINFO{topic="FooTopic" "$rev"}%) }%
%CALC{"$SET(twoback, $EVAL($GET(revC)-2)) }%
%REVINFO{rev="%CALC{$GET(twoback)}%" topic="FooTopic"}%
However, I cannot do this:
%CALC{$SET(ModDate, %REVINFO{rev="$GET(twoback)" "$epoch"}% )}%
I've tried various permutations.
I don't just want to
see the revinfo for the previous rev. I want to stick it into a variable. (This is part of a test to determine if content is older than a given date.)
Help??
--
VickiBrown - 2009-07-23
Discussion and Answer
Is this possible? SHould I file a bug report?
--
VickiBrown - 2009-08-07
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2009-10-02
Filed as
TWikibug:Item6352
--
VickiBrown - 2009-10-22
Answered in
TWikibug:Item6352.
--
Peter Thoeny - 2013-10-18
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.