Lines Matching refs:version

2887      * In a COPY operation, if the destination exists, is under version
3321 /* parse the request body (may be a version-control element) */
3331 if (!dav_validate_root(doc, "version-control")) {
3334 "a \"version-control\" element.");
3338 /* get the version URI */
3339 if ((child = dav_find_child(doc->root, "version")) == NULL) {
3341 "The \"version-control\" element does not contain "
3342 "a \"version\" element.");
3348 "The \"version\" element does not contain "
3353 /* get version URI */
3369 /* if not versioning existing resource, must specify version to select */
3372 "<DAV:initial-version-required/>");
3376 /* cannot add resource to existing version history */
3383 /* resource must be unversioned and versionable, or version selector */
3391 /* the DeltaV spec says if resource is a version selector,
3420 /* attempt to version-control the resource */
3515 if (dav_find_child(doc->root, "apply-to-version") != NULL) {
3518 /* ### DAV:must-not-have-label-and-apply-to-version */
3520 "DAV:apply-to-version cannot be "
3766 dav_resource *version = NULL;
3803 /* check for label-name or version element, but not both */
3806 else if ((child = dav_find_child(doc->root, "version")) != NULL) {
3810 "The version element does not contain "
3818 "a \"label-name\" or \"version\" element.");
3825 "Depth must be zero for UPDATE with a version");
3829 /* get the target value (a label or a version URI) */
3856 "<DAV:must-be-checked-in-version-controlled-resource>");
3859 /* if target is a version, resolve the version resource */
3882 /* resolve version resource */
3884 0 /* use_checked_in */, &version);
3888 /* NULL out target, since we're using a version resource */
3893 err = (*vsn_hooks->update)(resource, version, target, depth, &multi_response);
3928 /* version provider hooks */
3938 /* Check the state of the resource: must be a version or
3939 * non-checkedout version selector
3948 "<DAV:must-be-version-or-version-selector/>");