jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Speck <marcsp...@gmail.com>
Subject Restore version node without loosing versions
Date Thu, 16 Jul 2009 09:14:10 GMT
Hi,

I have a node with version 1.1 and 1.2 and I want to restore 1.1. After
calling node.restore(1.1), there is only 1.1 left and 1.2 is removed, e.g.

Version restoreMe = node.getVersionHistory().getVersion("1.1");
node.restore(restoreMe, false);


Is it possible to restore 1.1 without losing 1.2, such that the history
looks like 1.1, 1.2, 1.3. In this example 1.3 is identical to 1.1.

Thanks for any hints,
Marc

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message