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

Re: Checksum mismatch error during large commit

From: David Haas <dhaas_at_nbstech.com>
Date: 2004-03-30 17:13:03 CEST

I have been playing around, even though I am totally ignorant and I patched
subversion to always ask APR to open files in binary mode when the system is
not windows. This seems to fix my Cygwin problem and hopefully does not
introduce other issues. I've attached the simple patch. Hopefully some you
could also try it.

Thanks,
David.

> On Wed, 2004-03-24 at 22:34, John Peacock wrote:
> > David Haas wrote:
> > > If I mount the volume in cygwin in binary mode, the checkout works
fine and
> > > the entries file is correct. If I mount the volume in textmode, then I
have
> > > the problem.
>
> > If you mount the volume in textmode, Cygwin alters the files under the
covers,
> > i.e. _without Subversion's knowledge_. You cannot use textmode and
Subversion.
> > Textmode is an evil hack, always has been an evil hack, and always
will be an
> > evil hack. There is no reason to use it.
>
> So, I can totally understand "we don't support this configuration," but
> it sounds like the fix might be really easy--specifying a binary flag
> when opening files to compute checksums. Can anyone test that?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Mar 30 17:14:51 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.