You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2001/10/30 22:03:49 UTC
can't find NULL label on copyfrom_url
So inside libsvn_ra_dav/fetch.c:commit_add_file(), I'm now attempting
to process the "copyfrom" args. I'm calling the shiny new
svn_ra_dav__get_baseline_info() like this:
/* Convert the copyfrom_* url/rev "public" pair into a Baseline
Collection (BC) URL that represents the revision -- and a
relative path under that BC. */
SVN_ERR( svn_ra_dav__get_baseline_info(FALSE,
&bc_url, &bc_relative, NULL,
parent->cc->ras->sess,
copyfrom_path->data,
copyfrom_revision,
pool));
When I trace into this routine in gdb, the first thing that happens
is a call to svn_ra_dav__get_props_resource(), attempting to fetch the
"starting props" on on the copyfrom_url -- with a NULL label.
When I step further in, I see that this routine calls
svn_ra_dav__get_props() -- which returns a hash with one object in it.
Because the label is NULL, we try to look up the copyfrom_url directly
in the hash and fail; we then return error on line 402 of props.c:
apr_error: #20014, src_err 0 : <Error string not specified yet>
failed to find label "(null)" for url "http://svn.collab.net/testing/cmpilato-test/fun-dir/foo"
I'm not really understanding everything that's going on here. I guess
I'm the guinea-pig tester for this new routine. Greg, can you explain
the problem?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org