jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: Branching
Date Tue, 27 Oct 2009 08:44:15 GMT
Hi,

On Tue, Oct 27, 2009 at 6:36 AM, Robin Batra <robin.batra@gmail.com> wrote:
> [...]
> N.checkout();
> N.checkin();
> N-> V1.3
> now i clone P1 to W2 (workspace 2)
>
> N' (node under cloned P1' )
> N'.checkout()
> N'.checkin()
>
> it still gave me 1.4 and not 1.3.1

That's expected, since the base version (1.3) against which you are
making the checkin does not yet have any other successors. You'll only
end up with a branch when you checkin against a base version that
already has one or more successors.

For example, if you now did a N.checkin() without first updating it to
the latest 1.4 version, you'd end up with 1.3.1.

BR,

Jukka Zitting

Mime
View raw message