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

RE: bad error message if commiting copied child of copied node

From: Bert Huijben <bert_at_qqmail.nl>
Date: Fri, 29 Jul 2011 09:18:50 +0200

> -----Original Message-----
> From: Stefan Sperling [mailto:stsp_at_elego.de]
> Sent: vrijdag 29 juli 2011 1:29
> To: dev_at_subversion.apache.org
> Subject: bad error message if commiting copied child of copied node
>
> When I try to commit a copied child of a copied node, I get an
> error like this:
>
> svn: E200009: '/tmp/svn-sandbox/trunk/epsilon2' is not under version
> control and is not part of the commit, yet its child
> '/tmp/svn-sandbox/trunk/epsilon2/zeta2' is part of the commit
>
> Script below. This reproduces with trunk and 1.7.x.
>
> I understand why the error is happening. It's not valid to try to
> commit just children of a locally added or copied tree. The entire
> tree has to be committed.
>
> But "not under version control" is definitely not the right wording.
> Any suggestions for what this should really be saying?

This error message was written years ago (I assume pre 1.0) when "a not
committed node"/"an addition" was assumed not to be under version control
until it is committed.

Since then we added tracking of more and more local operations and we also
use files that are tracked locally as 'under version control'.

I think we should change the message to be more like our current messages,
but I can't say the original message is wrong.

        Bert
Received on 2011-07-29 09:19:48 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.