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

Other people's delete dir causes my update to assert?

From: Chris Wein <cwein_at_mobilygen.com>
Date: 2004-05-21 00:15:08 CEST

I can reliably create an assertion failure in 1.0.1 when someone else
deletes (and commits) a directory in which I have non-versioned files in
my WC and I attempt to do an svn update to where the directory was
deleted. It does not appear to be an issue in the tracker...

Here is the recipe, done with two different working copies, order
important.

WC1

svn mkdir dirA
svn commit -m "just made dirA"

WC2

svn update // gets new directory dirA
cd dirA
touch UnversionedFile

WC1

svn delete dirA
svn commit -m "deleted dirA"

WC2

cd .. // this is important!
svn update // try to update to rev that deletes dirA
svn: subversion/libsvn_ra_svn/marshal.c:434: vwrite_tuple: Assertion
`opt || cstr' failed.
Abort

Now, the dirA is no longer versioned after this operation but the
assertion failure has left locks in WC2. Also, note that if you
do the update from dirA (and do not do the cd .. above) you get

svn: Invalid editor anchoring; at least one of the input paths is not a
directory and there was no source entry

which makes sense to me, and is also clean and leaves no locks.

-- 
Chris Wein
Software Manager
Mobilygen Corp.
E-Mail : cwein@mobilygen.com
Phone  : 408-869-4035
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 21 00:15:46 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.