Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: removing an external in the working copy?

I moved one of my (single-file) externals to another directory, but its presence persists in my working copy. If I delete the file and then svn update, it gets restored.

How can I get rid of the external? It's no longer present in svn:externals in the directory in question.

like image 497
Jason S Avatar asked Aug 19 '11 15:08

Jason S


2 Answers

This is a known problem, see:

http://subversion.tigris.org/issues/show_bug.cgi?id=3351 - can't remove file externals.

It was fixed in 1.7, but in 1.6 one has to checkout a fresh working copy to get rid of the file.

like image 116
Eugene Yarmash Avatar answered Oct 11 '22 23:10

Eugene Yarmash


Found a fix: I deleted the parent directory of the file in question, and then did an update. SVN did not recreate the phantom file.

like image 42
Jason S Avatar answered Oct 11 '22 23:10

Jason S