svnsync backwards-compatibility with older servers (Was: Re: svn commit: r999421)
From: Jon Foster <Jon.Foster_at_cabot.co.uk>
Date: Tue, 21 Sep 2010 17:07:49 +0100
Hi,
svnsync has always had locking, to prevent two svnsync processes from
Unfortunately, this locking has always been broken (there's a race
So... what do we do if a 1.7 svnsync connects to a <=1.6 mirror server?
1) It works like 1.6 - i.e. it does buggy locking that works most of the
2) It runs without even trying to do locking. This is likely to be more
3) It errors out with an informative message. If the user has control
I really don't like option 1. I think Subversion should be reliable,
I'm not keen on option 2 either. Silently disabling a
So I guess that leaves option 3. That's not fully backwards-compatible
Thoughts?
Kind regards,
Jon
* http://linux.die.net/man/1/flock
-----Original Message-----
**********************************************************************
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.
Cabot Communications Limited
Co. Registered in England number 02817269
Please contact the sender if you believe you have received this email in error.
**********************************************************************
______________________________________________________________________
|
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.