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

dav probs

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-03-28 21:54:03 CET

So here's a problem I'm seeing with ra_dav. Hopefully gstein can hand
me a clue about how to fix it.

 * The repository-diff editor is trying to get the svn_node_kind
   of a particular (revision, path) pair in the repository. It calls
   RA->check_path() to do this. This function takes the (rev, path)
   pair as input.

    * ra_dav's implementation of this function is straightforward: it
      tacks the path onto the ra-session's url, to get a new url.
      then it passes the new url and revnum to get_baseline_info()

       * get_baseline_info is being dumb. the very first thing it
         does is call get_props_resource(), which calls get_props().
         The "dumbness" here is that the revnum is being completely
         ignored; the path may not exist at all in the head!

And in fact, that's exactly what I'm running into. get_baseline_info
is currently unable to get any information about a path unless it
exists in HEAD already. I get an instant 404 error.

My memory tells me that this topic has come up before. Gstein, is
there a Right Way for me to fix get_baseline_info?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 28 21:55:08 2002

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.