Ingo Brunberg wrote:
kranga wrote:

I've tried using propfind <path> label-name-set and this returns blank. The
label property holds a set of labels as a revision can have multiple labels.
How do I query the labels out? Someone please help!

You need to do your propfind (for label-name-set) on the version paths. There's no simple/quick way to say 'give me a list of all the labels that are set on any version of this resource' (an argument could certainly be made that this would be a useful thing, though) as far as I know.


No, there is a way of doing this. Just use the REPORT method on your
version controlled resource and ask for the label-name-set.

Ah. My mistake - I was using the RFC as my reference (since I have a helpful printed out copy sitting next to me). The relevant REPORT (and the deprecation of the Label header) was added in the errata, which I hadn't read.




Fetching a particular version with a label set is, of course, much simpler - just set the Label header appropriately.

Mike


The Label header is deprecated. I'm not sure if it is supported by
Slide anyway. You have to find out (from the results of the REPORT
method) which version has a given label set. Then you request exactly
that version by a simple GET.

Label header is supported by slide - it's quite useful. The REPORT approach is sensible too, of course, but I haven't checked if slide supports it.


Mike


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to