This question about Not sure...: Answered

Compare latest with two weeks old revisions

Compare latest with two weeks old revision

I would like to compare (e.g. via the CompareRevisionsAddonPlugin) the latest with an old (e.g. two weeks) revision. How is this possible?

The following line will compare the latest with the second latest revision: /bin/compare/Support/Question9?render=sidebyside&rev1=&rev2=

Answer

The URL you mentioned has two parameters named rev1 and rev2. In your example, the parameters have no value but you can add any value you like to compare.

This example compares rev 4 with rev 1: http://foswiki.org/bin/rdiff/Support/Question9?rev1=4;rev2=1

-- TorbenGB - 08 Jan 2009

Also note that the built-in compare of revisions known as "rdiff" uses the URL with rdiff. A better comparison exists by installing the CompareRevisionsAddOn. This what the question tries to do. All that is missing in the URL is the actual versions for rev1 and rev2. If you combine CompareRevisionsAddOn with HistoryPlugin you get a fantastic user interface for picking the revisions. I warmly recommend these two extensions. Both are recently updated to Foswiki name space and tested with Foswiki 1.0.0

-- KennethLavrsen - 08 Jan 2009

QuestionForm edit

Subject Not sure...
Extension
Version
Status Answered
Topic revision: r5 - 08 Jan 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy