java - How to checkout an older version in Jcr 2.0 programmatically? -


i have checked in files in file system crx repository programmatically (by using versionmanager). have created versions, let's 1.0, 1.1 , 1.2. let's have deleted file in 1.1 , added file in 1.2. when trying checkout version 1.1 file system, showing me node of file created in 1.2.


at first, tried "version.checkout()" (where version version node of version 1.1) did not work. debugged , understood why not working. running out of options, though knew not correct way of doing it, tried restoring base version 1.1 , after checkout, restored 1.2 (i getting versions using versionhistory). didn't solve problem either. don't think heading right way, please point me in right direction , me it?


if missing of details provided, please let me know.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -