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

Changed behavior in 1.4 with regards to deleting non-existent files

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2006-11-04 20:08:26 CET

SVN 1.4:
PS D:\halftemp\wc\Test\WindowsApplication> touch bleh.cs
PS D:\halftemp\wc\Test\WindowsApplication> svn add bleh.cs
A bleh.cs
PS D:\halftemp\wc\Test\WindowsApplication> del bleh.cs
PS D:\halftemp\wc\Test\WindowsApplication> svn del bleh.cs
D bleh.cs
svn: 'bleh.cs' does not exist

SVN 1.3:
PS D:\halftemp\wc\ConsoleApplication4> touch bleh.cs
PS D:\halftemp\wc\ConsoleApplication4> svn add bleh.cs
A bleh.cs
PS D:\halftemp\wc\ConsoleApplication4> del bleh.cs
PS D:\halftemp\wc\ConsoleApplication4> svn del bleh.cs
D bleh.cs
PS D:\halftemp\wc\ConsoleApplication4>

Is there a good reason why this change was made? The error in 1.4 seems
unnecessary, since SVN actually does remove the file entry from the working
copy. It's also not consistent with the fact that you don't get an error if
the file's status was unmodified:

PS D:\halftemp\wc\Test\WindowsApplication> svn st Blah.cs
PS D:\halftemp\wc\Test\WindowsApplication> del Blah.cs
PS D:\halftemp\wc\Test\WindowsApplication> svn del Blah.cs
D Blah.cs
PS D:\halftemp\wc\Test\WindowsApplication>

--
Arild
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 4 20:09:03 2006

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.