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

Re: "svn revert" corrupts working copy

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 19 Feb 2014 12:17:06 +0000

Stefan Sperling <stsp_at_elego.de> writes:

> So, just move your file to a safe place, and run 'svn revert' again.

In this case it's 'svn cleanup' after removing the obstruction.

I suppose Subversion could check for such obstructions before creating
the workqueue item and fail with some sort of "cannot revert" error.
Any check like that would have to happen after the outcome of earlier
reverts is known:

  svn revert wc/dir wc/dir/file

if the revert of wc/dir is successful then any obstruction of wc/dir has
been removed by the time we attempt to revert wc/dir/file.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-02-19 13:17:46 CET

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.