On Mon, 12 Feb 2007, Graham Leggett wrote:
> I have a RHEL4 svn client attempting to do an svn update against a Solaris
> svn server. When this is attempted, I get the message:
>
> svn: Failed to find label 'NULL' for URL '/repos/fo/sba/trunk/SBA/SbaAlchemy'
>
> The error messages fails to say which URL is affected, the message is
> thrown whenever any attempt is made by the RHEL4 machine to update or
> checkout code from the Solaris machine.
This error is produced by subversion/libsvn_ra_dav/props.c's
svn_ra_dav__get_props_resource():
--- snip ---
SVN_ERR(svn_ra_dav__get_props(&props, sess, url_path, SVN_RA_DAV__DEPTH_ZERO,
label, which_props, pool));
...
/* pick out the first response: the URL requested will not match
* the response href. */
apr_hash_index_t *hi = apr_hash_first(pool, props);
if (hi)
{
void *ent;
apr_hash_this(hi, NULL, NULL, &ent);
*rsrc = ent;
}
else
*rsrc = NULL;
...
if (*rsrc == NULL)
{
/* ### hmmm, should have been in there... */
return svn_error_createf(APR_EGENERAL, NULL,
_("Failed to find label '%s' for URL '%s'"),
label ? label : "NULL", url_path);
}
--- snip ---
svn_ra_dav__get_props() must be returning an empty property hash. It
creates and dispatches a sub-request (PROPFIND) to httpd to retrieve
the properties requested from svn_ra_dav__get_props_resource() (via
its which_props parameter).
- application/pgp-signature attachment: stored
Received on Mon Feb 12 19:24:40 2007