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

Update failure after removing obstructing item

From: Michael Grundberg <michaelgrundberg_at_hotmail.com>
Date: 2003-10-31 13:22:57 CET

[4th try over two days to get this through to the mailing list, apologies if
it really did go through without me noticing]


After investigating some problems we've had with svn, I have made a recipe
that reproduces at least one of them:

# Create repos and trunk
svnadmin create /repos
svn mkdir file:///repos/trunk -m ""
svn mkdir file:///repos/trunk/test -m ""
# User 1
svn checkout file:///repos/trunk trunk1
# User 2
svn checkout file:///repos/trunk trunk2

# User 1 adds a file
echo "" > trunk1/test/test.txt
svn add trunk1/test/test.txt
svn commit trunk1 -m ""

# User 2 adds an obstruting file to his wc
cd trunk2
echo "" > test/test.txt
# Try to update (which correctly fails)
svn update test
# So remove the obstructing file and retry
rm test/test.txt
svn update test

Which fails with:

svn: Obstructed update
svn: failed to add directory 'test': object of the same name already exists

Running "svn update ." succeeds though.

We're using svn 0.32.1 and MS Windows.


Michael Grundberg

MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 13:23:40 2003

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.