Re: is this example valid?

Grr. The below doesn't work either. The Label: would apply to file.c, not
/the/baseline/selector.

Okay... separate question: can I "slash through" a baseline?

Off the cuff, I'd say "no, the baseline is an arbitrary set of version
resources, rather than a structured/hierarchical set of version resources."

The problem is how to get to a specific version resource given a label for a
baseline and a (relative) path within that baseline. And in as few
operations as possible, of course :-)

Cheers,
-g

On Tue, Jan 16, 2001 at 09:51:37AM -0800, Greg Stein wrote:
> 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/

-- 
Greg Stein, http://www.lyra.org/

Received on Tuesday, 16 January 2001 13:35:44 UTC