Hi, NodeDocument.getAllChanges() gives you an Iterable over all changes (including non-committed) on a document. If you are only interested in committed changes you have to filter them with a check on the same document isCommitted(rev)
Regards Marcel On 14/04/16 14:44, "Robert Munteanu" wrote: >Hi, > >For a NodeDocument I'd like to know which revisions it is linked to ( >in order to infer the commits ). > >I've looked at NodeDocument#getLastRev ( but not all documents have the >_lastRev field defined ). I've also tried to to use >DocumentNodeStore#getHeadRevision , but the revision I get doesn't work >with NodeDocument#getCommitRootPath . > >Is there an API for retrieving the revisions that affect a >NodeDocument? > >Thanks, > >Robert
