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

ci of a previously removed directory fails

From: Keith Richling <keith_richling_at_agilent.com>
Date: 2004-08-20 20:03:19 CEST

If I remove a directory and checkin, then move the parent directory and
checkin, then re-add the removed directory and checkin, then this last
checkin fails. I have found no way to work around this problem. How do
I perform this last checkin?

I am running subversion on Red Hat Enterprise Linux WS release 3
(Taroon). Here is the version information for subversion.

>svn --version
svn, version 1.0.6 (r10360)
    compiled Aug 17 2004, 09:51:59

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
   - handles 'http' schema
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
   - handles 'svn' schema

Here are the commands to run to reproduce the error.

mkdir /tmp/svn
cd /tmp/svn
svnadmin create add_test_repo
svn co file:///tmp/svn/add_test_repo add_test
cd add_test
mkdir -p test/exec/dir
svn add test
svn ci -m "Added a test."
svn rm test/exec/dir
svn ci -m "Removed dir."
svn mv test/exec test/act
svn up
svn ci -m "Renamed exec to act."
svn mkdir test/act/dir
svn ci -m "Re-added dir."

Here is the error message.

svn: Commit failed (details follow):
svn: File already exists: filesystem '/tmp/svn/add_test_repo/db',
transaction '5', path '/test/act/dir'

-- 
Keith Richling                     |  Agilent Technologies
Email: keith_richling@agilent.com  |  MS/72
Voice: (970) 288-7903              |  4380 Ziegler Road
   Fax: (970) 288-6580              |  Fort Collins, CO 80525-9790
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 20 20:24:27 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.