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

Re: Problem in copy_versioned_files()?

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-12-06 22:20:23 CET

John Szakmeister wrote:
> On Tuesday 02 December 2003 22:20, Julian Foad wrote:
>>It does catch a few other instances of using an adm_access baton after it
>>was closed. The attached patch fixes all but one tricky case, marked with
>>"###". Do you fancy trying to see how to deal with that tricky case?
>>- Julian
> Well, I spent some time trying to fix the tricky case in
> svn_wc_process_committed(). I've managed to get nearly everything working
> with the attached patch. Only copy test #9 and svnlook test #2 fail and I

Ah - perhaps I should have mentioned that only copy test #9 was failing when I got as far as I got. :-)

> think for the same reason. It appears that this line is no longer filtering
> out the already committed file "A/B2/E/alpha" in svn_client_commit(), and
> tries to run svn_wc_process_committed() on it again, causing it to fail.
> if (! entry
> && have_processed_parent (commit_items, i, item->path, subpool))
> /* This happens when the item is a file that is deleted, and it
> has been processed as a child of an earlier item. */
> continue;
> Maybe someone else on the list will see the easy solution to this problem.
> I'll keep looking at it, but the answer isn't apparent to me at the moment.

OK. I might have another look later but I'm doing other things at the moment.

- Julian

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 6 22:15:54 2003

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.