On Thu, 01 Dec 2005, Mark Phippard wrote:
...
> > On 12/1/05, Daniel Rall <dlr@collab.net> wrote:
> > > > I debugged a command line session to rule out problems with JavaHL
> > > > and saw that status.c's change_file_prop receives this odd looking
> > > > name value pair:
> > > >
> > > > + name 0x00d5fac8 "svn:entry:committed-rev"
> > > > - value 0x0012f510
> > > > + data 0x00d5fa88 "/svn13X/13TR/!svn/ver/9/Dir%20A/Doc%20A.txt9"
> > > > len 0x0000002c
> > > >
> > > > The "9" is the correct commited-rev, but how it comes to be appended
> > > > to that path is a mystery. I'm still trying to figure out what's going
> > > > on, but I'm not making much progress and am in a lot of unfamiliar code...so
> > > > I'm putting out a plea for help! If anyone has a moment could they
> > > > try to duplicate this problem? And any insight into the cause is appreciated.
> > >
> > > "data" looks like it's pointing to a mod_dav_svn URI which has been
> > > URL-encoded, but the "9" at the end of the string looks especially
> > > suspicious. Memory management problem?
...
> ... he expected the
> value in data to be just the revision number, in this case 9.
Right. We've got some leftover cruft before the 9. We need to
determine whether the server is responding with that (or something
else invalid), or whether the client is mishandling the server's
response.
> I am not sure why he didn't post it, but when he showed it to me in Debug
> and he could see the XML response from DAV, the line that contained this
> information looked a bit different than the others. Specifically, the XML
> tag for the data ended with a /> where as all of the other bits of data
> just ended with >.
fetch.c:set_special_wc_prop() maps "DAV:version-name" to
"committed-rev". In trunk, I'm seeing the correct value for this
field passed over the wire:
<D:response xmlns:lp1="DAV:" xmlns:lp3="http://subversion.tigris.org/xmlns/dav/">
<D:href>/repos/!svn/bln/3</D:href>
<D:propstat>
<D:prop>
<lp1:baseline-collection><D:href>/repos/!svn/bc/3/</D:href></lp1:baseline-collection>
<lp1:version-name>3</lp1:version-name>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
Are you saying that 1.3 is not passing the expected value over the
wire or is misformatting the response?
--
Daniel Rall
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 1 21:13:28 2005