[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-16 21:23:17 CEST

Erik Huelsmann <ehuels@gmail.com> writes:

> On 10/16/05, Philip Martin <philip@codematters.co.uk> wrote:
>> The main problem is SVN_WC__LOG_MV, when the log file is first run
>> this commands cause the file to get moved and so on a second run the
>> command fails because the file does not exist.
> Code on trunk - at least the version I have - ignores ENOENT for
> exactly that reason. Is it ignoring the wrong error?

Ah, I made a mistake, it's not SVN_WC__LOG_MV. I'm checking out a
repository that contains a single file, I get a log containing this


When rerun the cp-and-translate fails because the mv has moved the
copy target.

> I was actually right now fixing a bug where SVN_WC__LOG_RM forgets to
> ignore ENOENT. I looked at SVN_WC__LOG_MV for this behaviour. I
> thought SVN_WC__LOG_MV was not susceptable to errors of rerunning.
> I'll apply your patch and see what I can do to make them not fail...

I know it's been that way for some time, but I think it's very dubious
for the first run of a log file to ignore such errors.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 16 21:24:01 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.