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

Re: binary file size limit? (4.2GB retry - success)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-03-12 17:27:42 CET

On Fri, 2004-03-12 at 10:17, Travis P wrote:

> Couldn't svn be using /tmp for temporary files on systems that support
> such a thing?

Hm, I suppose that could work. But it kind of destroys the "wc is self
contained" philosophy. The WC journals all of its actions, then
executes the journal. Our philosophy has always been that the
journal-commands refer to things strictly within the working copy.

Suppose you interrupt a WC operation, so that your WC is locked with
journals lying around. Then you let your WC sit around overnight.
During the night, a cron job cleans out /tmp. The next morning you run
'svn cleanup', which attempts to finish running the WC's journals... but
the journal refers to copying/moving a file in /tmp that is no longer
there. Whoops.

> On the other hand, given the statements about (4), maybe that
> temp file could be moved/renamed to become the text-base file rather
> than yet another copy. Maybe this is already done efficiently and I'm
> just unaware of that and misreading this conversation.

Oops, yeah, actually, I forgot about that detail. We *do* do a 'mv'
from .svn/tmp/ to .svn/text-base.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 12 17:32:44 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.