Re: svn commit: r8897 - in trunk/subversion: libsvn_wc tests/clients/cmdline
From: Greg Stein <gstein_at_lyra.org>
Date: 2004-03-05 22:43:40 CET
On Fri, Mar 05, 2004 at 01:41:27PM -0600, kfogel@tigris.org wrote:
That's an awfully long comment. I think you can describe the problem with
* svn_wc_text_modified_p() says the wc is unmodified
- it could be that the WC is a copy of a corrupted text base. thus, we
* svn_wc_text_modified_p() says the wc is modified
- the text base might still be corrupted, so we have to check, to
Thus, we always need to compute the checksum.
The second issue is whether it is possible to collapse the checksum into
IOW, the net result could be:
* the files appear the same at the surface, so a byte-by-byte comparison
* the files differ at the surface, so text_modified exits early. a
So... I think you *can* optimize the behavior here. Rather than two passes
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Fri Mar 5 22:40:47 2004 |
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.