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

Re: possible win32 fsfs performance[Scanned]

From: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2004-10-23 00:39:13 CEST

On Fri, Oct 22, 2004 at 10:22:53PM +0100, JS.staff wrote:
> Any time they're not open, if svn uses 'jars' in preference to normal rev files?
>
> -----Original Message-----
> From: Peter N. Lundblad [mailto:peter@famlundblad.se]
> Sent: Fri 22/10/2004 22:09
> To: JS.staff
> Cc: Greg Hudson; dev@subversion.tigris.org
> Subject: RE: possible win32 fsfs performance[Scanned]
>
>
>
> On Fri, 22 Oct 2004, JS.staff wrote:
>
> > Shoudn't it be quite simple to protect the 'jar' file during production? ie:
> >
> > Create the archive file as 'something.x'
> > When finished, rename to '00001-00999.jar' (fsfs uses jar in preference to normal rev files)
> > Delete 00001-00999 ye olde rev files
> >
> When is it safe to delete the old files on all platforms?
>
> //Peter
>
>

There's no portable way to determine if a file is open.

We might get away with cheating and saying "on unix-like OSen, deleting
them when they're open doesn't hurt, and on windows-like OSen, you
are protected from deleting them when they're open". According to those
rules: try to delete the file, if you succeed, great. If you don't, keep
trying until you do.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 23 00:36:06 2004

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