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

Re: Rerunning wc log files

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-21 00:23:59 CEST

Philip Martin <philip@codematters.co.uk> writes:

> I added the
> following patch to cause log files to get run twice during normal use
> and it turns out that lots of log files cannot be rerun,

The new schedule replace stuff is particularly nasty, a wc-to-wc copy
generates log files that do:

<mv
   dest=".svn/text-base/foo.svn-revert"
   name=".svn/text-base/foo.svn-base"/>
...
<mv
   dest=".svn/text-base/foo.svn-base"
   name=".svn/tmp/text-base/foo.svn-base"/>

This moves the original text-base from .svn-base to .svn-revert and
then installs a new text-base to replace the original. If this log
file gets interrupted after that second move, then rerunning it will
cause the new text-base to overwrite the original one stored as
.svn-revert and the working copy is broken.

That's horrible, and I don't see any easy way to fix it. I don't
think it can be done using the existing log file primitives, I think
it needs a new log file operation that takes all three names and does
both moves.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 21 05:05:33 2005

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.