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

bad error message if commiting copied child of copied node

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 29 Jul 2011 01:28:41 +0200

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?


set -e

basename=`basename $0`
scratch_area="`echo $basename | sed -e s/\.sh$//`"

set -x

rm -rf $scratch_area
mkdir -p $scratch_area

mkdir -p $trunk
mkdir $trunk/epsilon
echo zeta > $trunk/epsilon/zeta

svnadmin create $cwd/$repos
svn import $trunk $trunk_url -m "importing project tree"
rm -rf $trunk
svn checkout $trunk_url $trunk

svn mv $trunk/epsilon $trunk/epsilon2
svn mv $trunk/epsilon2/zeta $trunk/epsilon2/zeta2
svn ci $trunk/epsilon2/zeta2 -m "try to commit zeta2"
Received on 2011-07-29 01:29:16 CEST

This is an archived mail posted to the Subversion Dev mailing list.