info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on Tempfiles


From: Derek R. Price
Subject: Re: Help on Tempfiles
Date: Tue, 14 Aug 2001 12:02:14 -0400

Paul Sander wrote:

> The ,*, files are indeed artifacts of RCS; they're the updated copies of the
> RCS files before they're renamed back to *,v files.  Creating them in a
> different location doesn't buy us anything because they'd still have to be
> copied back (to a new name) and renamed to the original.

Um, well, if the temp dir could be guaranteed to be on the same file system as 
the
repo, then the temp file could be renamed directly without the copy.

Unfortunately, RCS uses the files as a lock file, so aside from a race 
condition in
the CVS code which could probably be fixed, the file actually prevents anyone 
using
RCS from making a change to the archive at the same time as CVS.  I'm not sure 
I'd
want to break that functionality completely.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
--
It'll take a miracle to get you out of Casablanca and the Germans have outlawed
miracles.

                - Sydney Greenstreet as Senor Ferrari, _Casablanca_






reply via email to

[Prev in Thread] Current Thread [Next in Thread]