On Fri, Mar 19, 2010 at 12:37, neels <nee...@gmail.com> wrote:
> On 19 March 2010 07:37, Daniel Näslund <dan...@longitudo.com> wrote:
>> I have some quirks with switching locally added files but that's for
>> another post.
>
> I once tested that switching the parent away depth-empty above an
> added node works, and that the added node correctly keeps its previous
> URL.

There is nothing "correct" about that. It is an artifact of buggy wc-1
behavior. When you add a node, it will be committed under its
*current* parent. Not whatever it happened to be six weeks ago when
you did the "svn add". The URL reported was wrong/bad/etc.

Any added node has SVN_INVALID_REVNUM. It will not have a revision
until you commit it. It will not have a repository location until you
commit it.

> But I'm aware that switch can be destructive (e.g. switching forward
> and then back often does not result in the same state).

Probably more of that bad wc-1 behavior.

Cheers,
-g

Reply via email to