jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Bocanegra <tri...@day.com>
Subject Re: Branching
Date Thu, 22 Oct 2009 20:06:24 GMT
hi,
what exactly do you need to know ?

the repository supports non-linear version histories. to create a
branch you do the following:

Assume you have a full versionable node N in workspace W and it's
versions Vn. And a 2nd workspace W' with the corresponding node N'

N.checkin() -> V1.0
W'.clone(W, N) -> N' (with V1.0)

N.checkout()
N.checkin() -> V1.1

N'.checkout()
N'.checkin() -> V1.0.1 (now you created a branch)
N'.checkout()
N'.checkin() -> V1.0.2

N.merge(W') -> V1.2 (now you merged the branches again)

i hope this helps.
regards, toby


On Tue, Oct 20, 2009 at 1:45 PM, Robin Batra <robin.batra@gmail.com> wrote:
> Has anybody implemented Branching and Merging using Jackrabbit?
>
> any help will be appreciated, thanks in advance.
>
> --
> Regards
>
> Robin Batra
>

Mime
View raw message