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

Re: svn commit: r1333739 - /subversion/trunk/subversion/libsvn_delta/editor.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 04 May 2012 11:49:55 +0100

Greg Stein <gstein_at_gmail.com> writes:

> One fallout that I need to document: alter_*() should be called on
> child nodes at the destination of a copy/delete. It is now "illegal"
> to modify a child, then move its parent elsewhere. The proper order
> is: move parent, then edit the child. (strictly speaking, it doesn't
> check the full ancestry... just the immediate parent, but whatever...
> this is still debug code to help us rather than full hard-core
> verification)

Does this restriction also apply to adding/deleting/moving/rotating all
children before calling alter_directory on the parent?

In an earlier thread I was asking how alter_directory could apply
properties without knowing the new children:

http://svn.haxx.se/dev/archive-2012-04/0206.shtml
http://mail-archives.apache.org/mod_mbox/subversion-dev/201204.mbox/%3C878vi12d0z.fsf@stat.home.lan%3E

When updating the working copy we cannot change the directory properties
without changing the revision and we cannot change the revision without
either already having all the children at the new revision or marking
the directory incomplete.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-05-04 12:50:32 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.