Switching to temp branch causes "Failed to add file 'fileB.txt': object of the same name already exists"
From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2004-02-03 14:50:41 CET
Hello everyone !
I believe I found a small bug when creating a temporary branch from a WC.
I believe SVN should have been intelligent enough to notice that the
The following recipe exposes the "bug" (sample run at end):
You'll notice that after I delete fileB.txt, the switch correctly occurs.
Does anyone else think this is a bug, or is this "normal behavior" ?
This is on Win2K SP4, SVN 0.37.0.
============== Sample Run ==============
$ svnadmin create repos
$ svn checkout file:///repos wc
$ cd wc
$ md trunk branches tags
$ cd trunk
$ echo "File A's content" 1>fileA.txt
$ cd ..
$ svn add trunk tags branches
$ svn commit --message "Initial repository layout"
$ cd trunk
$ echo "File B's content" 1>fileB.txt
$ svn add fileB.txt
$ svn copy . file:///repos/branches/temp-branch --message "Creating
Committed revision 2.
$ svn switch file:///repos/branches/temp-branch
$ svn revert --recursive .
$ del fileB.txt
$ svn switch file:///repos/branches/temp-branch
---------------------------------------------------------------------
|
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.