W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > January to March 2001

Re: is this example valid?

From: Greg Stein <gstein@lyra.org>
Date: Tue, 16 Jan 2001 09:51:37 -0800
To: ietf-dav-versioning@w3.org
Message-ID: <20010116095137.A7070@lyra.org>
Sorry, I realized this after I sent the message. I want to do:

  CHECKOUT /the/baseline/selector/some/file.c
  Label: which-baseline
    <DAV:apply-to-version>

Thus, getting a working resource for "file.c" from baseline
"which-baseline".

This is premised on the fact that a baseline-selector operates just like a
regular VCR, but that it sets up the children to come from a particular
baseline.

Does this sound right?

If not, then is there a way to do this? Would I have to create a new
baseline selector, UDPATE it, then CHECKOUT/apply-to-version? (I hope not
because that doesn't scaleas well)

thx,
-g

On Tue, Jan 16, 2001 at 11:43:42AM -0500, Geoffrey M. Clemm wrote:
> Ah, good!  Something not about options (:-).
> 
>    From: Greg Stein <gstein@lyra.org>
> 
>    Consider that I have a collection under baseline control. I want to check
>    out a specific version resource (to get a working resource) from a specific
>    baseline of that collection.
> 
> Or in other words, you want to checkout a particular baseline to get
> a "working baseline"?
> 
>    I believe the order of operations would be:
> 
>    PROPFIND /my/coll
>      <DAV:baseline-selector>
> 
>    CHECKOUT /the/baseline/selector
>    Label: which-baseline
>      <DAV:apply-to-version>
> 
>    I'm presuming that the latter will create the working resource for me.
> 
> The "Label" header makes the CHECKOUT method apply to the specified
> baseline (rather than to the baseline selector), so the DAV:apply-to-version
> argument is redundant.
> 
> Cheers,
> Geoff

-- 
Greg Stein, http://www.lyra.org/
Received on Tuesday, 16 January 2001 12:50:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:40 GMT