Re: Editorr v2 svn_editor_alter_directory needs list of children
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 12 Apr 2012 17:06:41 +0100 (BST)
Philip Martin wrote:
> I think alter_directory needs a list of children as well as the new
I agree. I already felt that was needed for API symmetry (or else the add_directory() should *not* take the list of children). Now your use case below adds a practical reason.
> Consider an update from
An important point here is that, by knowing the list of children, the semantics of the WC "incomplete" status can be greatly simplified. We will only ever need to make new children "incomplete", never the directory itself. Now the "incomplete" status will only need to mean, "We know there is a node with this name; we know nothing else about it". It will no longer ever need to mean "This directory has some children which are completely (or partially?) fleshed out, and/or perhaps some that we don't know anything about yet".
That simplification in itself sounds like a very good reason to go this way.
- Julian
> Another alternative might be imposing a drive order restriction, only
|
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.