[
https://issues.apache.org/jira/browse/OAK-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546748#comment-13546748
]
Mete Atamel commented on OAK-540:
---------------------------------
I submitted a fix with rev 1430200, hope it's ok.
> MongoMK.getHeadRevision() returns branch revision
> -------------------------------------------------
>
> Key: OAK-540
> URL: https://issues.apache.org/jira/browse/OAK-540
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: mongomk
> Affects Versions: 0.5
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
>
> The MongoMK.getHeadRevision() implementation does not restrict the revisions
> to the trunk but may also return the revision of a branch when it is more
> recent. As quickly discussed on the mailing list [0], the contract of
> getHeadRevision() is to return the most recent trunk revision, ignoring any
> branches.
> [0] http://markmail.org/message/4wbazrxpmtceygpi
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira