Mic,

My current code in the svn to jcr sync is failing because repository.save() is not setting version numbers. The checkin() method seems the only way to have something increas the version number, also does a save and a checkin at the same time, but its at an asset level, not a repository level: this.node.setProperty( VERSION_NUMBER_PROPERTY_NAME, nextVersion );
           this.node.getSession().save();
           this.node.checkin();

However I need a unit of work to be atomic. So save() is done at the end of the session, when all actions have been applied, when I call "save" I want version numbers increased.

Mark

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to