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

Re: log-report without path breaks compatibility

From: Martin von Gagern <Martin.vGagern_at_gmx.net>
Date: Tue, 03 Jun 2008 16:50:15 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Phippard wrote:
| This was reported a week or so ago and the fix is included in the just
| released RC8.

Is that so? I can find neither code nor commits for this, and my network
traffic with trunk or RC8 still shows this issue, i.e. svn_ra_get_log2
returns an empty log when called with a NULL argument.

The request looks like this, with linebreaks and indentation in the XML
added for readability:

REPORT /vpnc/!svn/bc/284/trunk HTTP/1.1
Host: svn.unix-ag.uni-kl.de
User-Agent: SVN/1.5.0 (Release Candidate 8) neon/0.28.2
Connection: TE
TE: trailers
Content-Type: text/xml
Accept-Encoding: gzip
Content-Length: 169
Accept-Encoding: gzip

<S:log-report xmlns:S="svn:">
~ <S:start-revision>0</S:start-revision>
~ <S:end-revision>284</S:end-revision>
~ <S:discover-changed-paths/>
~ <S:strict-node-history/>
</S:log-report>

To which the server responds:

HTTP/1.1 200 OK
Date: Tue, 03 Jun 2008 14:35:36 GMT
Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_ssl/2.2.3
OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<S:log-report xmlns:S="svn:" xmlns:D="DAV:">
</S:log-report>

So either you were confusing the issue with something else, or the fix
hasn't been comitted, or the fix doesn't work as it should, at least not
against subversion 1.4.2 servers.

Notice that the patch from my original post assumed that passing NULL
would have the same effect as passing [""]. Recent duscussion in the
thread "Clarification for paths argument to svn_ra_get_log2" indicated
that this might not be the case.
http://thread.gmane.org/gmane.comp.version-control.subversion.devel/100903/focus=100905
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhFWiYACgkQRhp6o4m9dFvZWwCgkuprn1cTcfd4X8PPEn0xgk0A
yz0AniN9Pj82GsmcnIb3sA4AhHBOSPd6
=vyjA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-03 16:50:34 CEST

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.