[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

can't find NULL label on copyfrom_url

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-10-30 23:03:49 CET

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
Received on Sat Oct 21 14:36:46 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.