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

Re: svn commit: r40186 - branches/1.6.x-future-proof/subversion/libsvn_wc

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Thu, 22 Oct 2009 10:56:57 -0500

On Oct 22, 2009, at 10:45 AM, Hyrum K. Wright wrote:

> Author: hwright
> Date: Thu Oct 22 08:45:03 2009
> New Revision: 40186
>
> Log:
> On the 1.6.x-future-proof branch:
>
> If we don't discover that we're in a working copy, try and determine
> if we're
> in a working copy from the future. In other words, recurse up the
> directory
> tree looking for a wc.db, and return it's version number if found.
>
> * subversion/libsvn_wc/questions.c
> (is_inside_wc_ng): New.
> (svn_wc_check_wc): Check for the wc-ng format, if no other format
> is found.
> (svn_wc__check_format): Adjust the error message. Users don't have a
> snowball's chance in a very hot place of downgrading from 1.7 to
> 1.6.

I'm sure there will be mixed opinions on this, but I think providing a
useful error message for current users of 1.6.x when we upgrade to 1.7
is useful. Claiming that a path isn't a working copy (as 1.6.x
currently does), when it really is, is just asking for confusion and
pandemonium.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2410294
Received on 2009-10-22 17:57:15 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.