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

svn switch lets you use a nonexistent URL?

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2005-04-24 23:12:23 CEST

T:\testwc>dir /b

T:\testwc>svn info file.txt
Path: file.txt
Name: file.txt
URL: file:///testrepos/file.txt
Repository UUID: a02db40f-b66d-504c-abcd-abcdbd9feefa
Revision: 1
Node Kind: file
Schedule: normal
Last Changed Author: Arild
Last Changed Rev: 1
Last Changed Date: 2005-04-24 23:03:22 +0200
Text Last Updated: 2005-04-24 23:03:16 +0200
Checksum: d41d8cd98f00b204e9800998ecf8427e

T:\testwc>svn ls file:///testrepos

T:\testwc>svn switch file:///testrepos/nonexistent.txt file.txt
D file.txt
Updated to revision 1.

T:\testwc>dir /b

T:\testwc>svn up
svn: Failed to add file 'file.txt': object of the same name already

Is this a bug? Surely you should get an error if you try to switch to an
URL that doesn't exist? And why didn't the local file actually get

AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
IRC: irc://irc.freenode.net/ankhsvn
"The problem in the world today is communication. Too much
communication." -- Homer Simpson
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 24 23:13:07 2005

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