jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: MongoMK.getHeadRevision()
Date Mon, 07 Jan 2013 16:11:28 GMT
On Mon, Jan 7, 2013 at 4:46 PM, Marcel Reutegger <mreutegg@adobe.com> wrote:
> Hi,
>
> while working on OAK-535 I noticed that MongoMK.getHeadRevision()
> may also return the revision of a branch commit. Is this intentional?
> I was rather expecting the method would return the highest commit
> revision without a branchId.

yes, getHeadRevision must return the most recent public 'trunk' revision.
returning a private branch revision is a bug.

cheers
stefan

>
> Regards
>  Marcel

Mime
View raw message