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

Re: [PATCH] Add a test in dav-mirror-autocheck.sh to showcase a out-of-date slave related bug

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 18 Apr 2011 14:41:18 +0300

On Mon, 18 Apr 2011 07:08 -0400, "Mark Phippard" <markphip_at_gmail.com> wrote:
> I know why it fails, but I would not expect it to fail as a user, even
> with a proxy. I did not look at Arwin's test but it does not require
> a WC to show the failure. This also fails:
> $ svn mkdir url://branches/branch1
> $ svn mkdir url://branches/branch2

Because in the second mkdir, the slave's idea of HEAD is behind master's and user's idea of HEAD.

I agree it would be nice if this worked, but given that we have to remain sane to people who open an RA session to the slave before it has synced up I'm afraid it might be tricky to address. (That corresponds to the case of concurrent commits --- two people attempting Mark's two mkdirs concurrently.)

Separately: we might want to teach the wc that one repos_url (out of several with the same repos_uuid) is preferred in given circumstances... then we could have '^mirror/' and '^master/' syntaxes. </random-thoughts>

(who also had thoughts about ^key/ syntax from ~/.s/config)
Received on 2011-04-18 13:41:51 CEST

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.