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

Re: svn up should *fail* on working copy whose source url correspond to some other node?

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 14 Aug 2008 12:24:05 -0400

On Thu, Aug 14, 2008 at 12:21 PM, Kamesh Jayachandran <kamesh_at_collab.net> wrote:
>> Why it succeeds is easy to explain. Likewise, why it should fail is
>> easy to understand.
>> With the new location-segments code, it would be easy to write an
>> svn_repos_youngest_common_ancestor() function (like the
>> svn_client__get_youngest_common_ancestor() I wrote for the client side)
>> which could be employed by the dir-delta code and used to verify that
>> what-you-have and what-you-want share a single line of history in the
>> update case. It could also be used to safeguard the switch case by
>> complaining if what-you-have and what-you-want have no common ancestor
>> at all (so you don't accidentally switch to some arbitrary tree location).
> Yes something of that sort has to happen.
> Worse still 'svn up' succeeds even if the new unrelated node at the old
> url sharing *no* history with the old node.

I do not get why we would want it to fail. I have always thought this
was a good thing and even recommend it to people in terms of
recreating a branch after reintegrating it.

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-14 18:24:21 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.