Search code examples
svnsvnignoredelete-directory

How delete a directory in SVN-repository and set it to svn:ignore at the same time?


I want to delete a directory in the repository via command line. At the same time, I don't want to propagate Subversion this change to the local working copy.

The directory in the working copy should be remained untouched as it is (alas, I want to set svn:ignore property). Anyway, I couldn't figure out a way to accomplish this without the deletes being propagated to my working copy.


Solution

  • As far as I know, this is impossible. svn:ignore won't do anything once files are actually being versioned.

    It makes something like this somewhat dangerous to do, as people might have local changes they want to keep. If they're not paying attention, they could lose them.