Re: question about Version-Control

"Elodie Tasia" <e.tasia@ever-team.com> wrote:

> There's someyhing about I've have questions : when a user calls
> the VERSION-CONTROL method on a versionable resource, it performs
> 3 operations :
>     - creation of a new version history,
>     - conversion of the versionable resource in version controlled
> resource,
>     - creation of a new version by copy of the versionable resource
> (content and properties).
>
> My question is : why doing a copy of the version controlled resource
>  ? why duplicating it ?
> It is not enough, just keeping it, and creating the first version
> after checking it out, modifying it, and checking it in ?
>
> Thanx in advance for answering at this (simple) question !

A version is created as a copy because the version-controlled resource can
be checked out and modified.  The version remains as an immutable copy of
the inital state of the VERSION-CONTROL'led resource.

Clearly, _implementations_ don't have to do a copy and can fake out the two
resources (version and checked-in version-controlled resource) using the
same underlying storage.

Regards,
Tim

Received on Wednesday, 5 June 2002 05:12:01 UTC