5

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.

2
  • You didn't by any chance forget to commit the directory after modifying the svn:externals property? Commented Aug 19, 2011 at 16:22
  • nope, did that first thing, but thanks Commented Aug 19, 2011 at 16:38

2 Answers 2

4

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.

Sign up to request clarification or add additional context in comments.

1 Comment

or create empty file and delete with next command: svn propset svn:externals -F svn.externals .
1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.