• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6105: Corrupt version history

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


I noticed this a few times, seems to be related with automatic upload by build script to twiki.org. Here is what is wrong:

-- TWiki:Main/PeterThoeny - 25 Oct 2008

this is an issue with rdiff not stripping the comment off of a line if there is no end comment present in the diff adding the following line fixes this: twiki/lib/TWiki/UI/RDiff.pm 306: $result =~ s/<!--(.*?)/<pre><--$1<\/pre>/gos; (add before return $result in sub _renderSequential)

this solution allows version history to display but does not take into account that any raw html that was previously commented out will now render

-- TWiki:Main.BreenaKermott - 2011-02-10

Summary Corrupt version history
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.2.3
SVN Range TWiki-5.0.0, Wed, 22 Oct 2008, build 17677
AppliesTo Engine

Priority Normal
CurrentState New


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2011-02-10 - BreenaKermott
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback