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

Re: The Four Elements of Righteousness

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-07-18 23:43:13 CEST

Philip Martin wrote:
>
> It certainly needs thought. At present the atomic unit is a single
> file, and the move from .svn/tmp/ to .svn/ is what "activates" it.
> The atomic nature of a filesystem move guarantees that only complete
> log files get run. To guarantee atomic behaviour with two files is
> harder. I suppose one could use the presence of the normal log file
> in .svn/ as a prerequisite for using a wcprops log file.

You could also put all the log files in a single directory .svn/tmp/trans001
and then move the directory atomically. But then you'd have to look in
.svn/trans001 for the logs.

Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 23:45:07 2002

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.