New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item8971: Working copy versions are pure trouble

Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Reported By: CrawfordCurrie
Waiting For:
Last Change By: KennethLavrsen
Having beaten my head off various version history problems for the last week, I've come to some conclusions:
  1. In most cases, the version number in the working copy has to be ignored.
  2. The store has to be able to understand the possibility of non-sequential versioning.
  3. RCS version numbers are just confusing the issue.

There are still corner cases that will fail, mostly to do with manual manipulations of the version history, so a new testcase LoadedRevTests covers the important cases.

Note that it is possible now to have a meta object with undefined text, when said object does not exist. This was a deliberate change, and is an attempt to try and clean up the semantics of topic objects further.

There are no functionality changes - this is all bugfixing.

Note that the work doesn't make non-sequential versioning entirely functional, as the RDiff code assumes sequential version numbers when it diffs over version ranges.

-- CrawfordCurrie - 04 May 2010

No complaints (yet), so marking as ready for release.

-- CrawfordCurrie - 06 May 2010

A test implementation of a subversion store - which is non-linear - has shown up some issues with the API, so making some mods.

-- CrawfordCurrie - 13 May 2010

Subversion store is working, so guess this can be closed now.

-- CrawfordCurrie - 23 May 2010


ItemTemplate edit

Summary Working copy versions are pure trouble
ReportedBy CrawfordCurrie
Codebase trunk
SVN Range
AppliesTo Engine
Priority Urgent
CurrentState Closed
Checkins distro:a30020697256 PermLinkPlugin:55402a95d52d distro:eb61fc1a31d1
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r10 - 04 Oct 2010, KennethLavrsen - This page was cached on 23 Mar 2018 - 01:07.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License