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

Re: svn commit: r1434913 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 18 Jan 2013 17:16:59 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> "Bert Huijben" <bert_at_qqmail.nl> writes:
>
>> svn mv A Z
>> svn mv Z/B B
>> svn mv Z/C C
>> svn rm Z
>
> The "svn rm Z" is removing half of a move (A-to-Z) so it currently
> fails. If we allow the delete what happens to A? It can't be marked
> moved-to Z because Z no longer exists.

We could make delete more sophisticated and have it convert the Z/B-to-B
move to a A/B-to-B when the A-Z move is broken. I suppose this would
happen automatically if we stored the moved-to in the BASE node, but I
don't seen anything that prevents the current scheme from being made to
work.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-01-18 18:17:39 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.