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

Re: svn commit: r35701 - trunk/subversion/libsvn_wc

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Thu, 05 Feb 2009 16:10:05 -0600

Bert Huijben wrote:
>> -----Original Message-----
>> From: Hyrum K. Wright [mailto:hyrum_at_hyrumwright.org]
>> Sent: Thursday, February 05, 2009 8:42 PM
>> To: svn_at_subversion.tigris.org
>> Subject: svn commit: r35701 - trunk/subversion/libsvn_wc
>>
>> Author: hwright
>> Date: Thu Feb 5 11:41:42 2009
>> New Revision: 35701
>>
>> Log:
>> Don't create the format file in the the WC administrative area. This
>> file
>> as been deprecated since 1.4, and only existed as a nicety for ancient
>> working
>> copies.
>
> I also thought of this file as a safeguard that makes it impossible to use
> 1.0-1.1 clients on newer working copies, as they would recognize the new
> working copy as incompatible..

We don't need the file there as a safeguard; it just generates a slightly nicer
error message. Pre-1.4 clients will still choke if this file doesn't exist.
The documentation post-1.3 has stated that this file could disappear at anytime,
and the comments in the code indicated it should happen for 1.5 or 1.6. I don't
think the intent was to have it live any longer.

> Before the next WC design materialized, I even assumed it would be a
> candidate as only left over in the administrative directory when the real
> administrative area was moved outside the working copy for exactly this
> reason.

Nope. In fact, with the exception of the wc root, directories won't even have
an administrative area, and older versions of Subversion won't even know they
are versioned.

> Write once, never touch later, but make sure older versions recognize this
> directory as an incompatible working copy that they shouldn't change.
>
> I think that algorithm even worked for 1.6 before this change.

Possibly. Realistically, though, how many 1.3-and-earlier clients are live out
there? And this change doesn't hurt them in any way, just causes them to throw
a slightly-less-informative error message.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1109300
Received on 2009-02-05 23:10:23 CET

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.