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

Switching a replaced file corrupt the WC

From: Kazutoshi Satoda <k_satoda_at_f2.dion.ne.jp>
Date: 2006-12-16 14:08:50 CET


The attached script will reproduce the problem. After running the
script, all remote operations for the file becomes to fail with a
error message:
   $ svn update wc
   svn: Working copy path 'file' does not exist in repository
The error message does not help because the file actually exists in
the repository.

I found some similar error reports with replace-with-history or merging
replaced files. But this is with a normal replace. I tested this with
1.4.2, 1.3.2 and trunk(r22732). All gave the same result.

Is there an issue about this?


svnadmin create repos

svn mkdir -m '' "$REPOS/trunk"
svn checkout "$REPOS/trunk" wc
cd wc

touch file
svn add file
svn commit -m ''

# Make a replaced file
svn delete file
touch file
svn add file

svn copy -m '' "$REPOS/trunk" "$REPOS/branch"

svn switch "$REPOS/branch"

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 16 14:09:20 2006

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