26 Aug 09:38
Regarding Versioning
From: Anil K. Kotha <Anilk <at> 2xprime.com>
Subject: Regarding Versioning
Newsgroups: gmane.comp.apache.jackrabbit.user
Date: 2008-08-26 07:41:33 GMT
Subject: Regarding Versioning
Newsgroups: gmane.comp.apache.jackrabbit.user
Date: 2008-08-26 07:41:33 GMT
Hi All,
I have found the following description for versioning in
jackrabbit mail archives.
Here's the relevant documentation from
AbstractVersionManager.calculateCheckinVersionName:
The name is determined as follows:
* first the predecessor version with the shortes name is searched.
* if that predecessor version is the root version, the new version
gets the name "{number of successors}+1" + ".0"
* if that predecessor version has no successor, the last digit of it's
version number is incremented.
* if that predecessor version has successors but the incremented name
does not exist, that name is used.
* otherwise a ".0" is added to the name until a non conflicting name is
found.
Example Graph:
(Continue reading)
RSS Feed