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

Re: svn commit: r1201824 - in /subversion/trunk/subversion: libsvn_client/diff.c libsvn_ra/ra_loader.c tests/cmdline/diff_tests.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 14 Nov 2011 21:05:04 +0200

stsp_at_apache.org wrote on Mon, Nov 14, 2011 at 18:59:06 -0000:
> Author: stsp
> Date: Mon Nov 14 18:59:06 2011
> New Revision: 1201824
> URL: http://svn.apache.org/viewvc?rev=1201824&view=rev
> Log:
> Fix issue #2873, "svn diff -c N on a file added in revision N does not
> create patch".
> When adding a file in rN and trying to diff this file in the range -rN-1:N,
> a client-side existence-check prevented a diff from being generated
> because of a "file does not exist at rN-1" error. The client was overly
> cautios here, because the server-side already supports the case where one
> of the diff targets doesn't exist. The only requirement imposed by the server
> is that the _anchor_ of the diff operation must exist. So we can fix issue
> #2873 by choosing an appropriate anchor for the diff operation.

Is this true for all 1.x servers?
Received on 2011-11-14 20:05:52 CET

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.