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

Revert scheduled delete -- possible dataloss?

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 8 May 2008 11:06:47 -0400

Does anyone consider this a dataloss bug?

$ cat foo
Original file
$ svn rm foo
D foo
$ echo New file > foo
$ svn revert foo
Reverted 'foo'
$ cat foo
Original file

Basically, I deleted a file, out a new copy of the file in place, and
then reverted the delete. The new file was just removed and the
pristine file put back.

I expected one of the following to happen:

1) Remove the schedule delete. svn st would now show the file as
modified. A second revert would get back the pristine file.
2) Fail because of an obstruction and require --force. In which case,
I would get behavior #1

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-08 17:07:05 CEST

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.