dav/sync.c

changeset 510
d6e801f97e7a
parent 506
ceed7714846a
child 513
893a659768b3
equal deleted inserted replaced
509:0576dd6409f3 510:d6e801f97e7a
2128 dir->versioning->collection); 2128 dir->versioning->collection);
2129 2129
2130 // get the path to the version history collection for this resource 2130 // get the path to the version history collection for this resource
2131 // if propfind fails we just assume that it doesn't exist 2131 // if propfind fails we just assume that it doesn't exist
2132 // better error handling is done later (sync_put_resource) 2132 // better error handling is done later (sync_put_resource)
2133 // if there is no history collection for this resource, we create a one 2133 // if there is no history collection for this resource, we create one
2134 2134
2135 DavPropName prop; 2135 DavPropName prop;
2136 prop.ns = DAV_NS; 2136 prop.ns = DAV_NS;
2137 prop.name = VERSION_PATH_PROPERTY; 2137 prop.name = VERSION_PATH_PROPERTY;
2138 *exists = dav_load_prop(res, &prop, 1); 2138 *exists = dav_load_prop(res, &prop, 1);

mercurial