logo
Published on Input Jam (http://www.kleinfelter.com)

Subversion - Import a Directory While Ignoring Some of Its Content

By Kevin Kleinfelter
Created 2009-08-31 00:19

I wanted to add a project to Subversion, but I wanted to ignore some of the directories in the project directory.  The standard way to do this would be to add the whole project directory and then set the svn:ignore property to ignore the directories, and then delete them from the repository.  But that adds the directories to svn, and delete doesn't really delete, so I wanted better.

First, my assumptions:
Here's how:

Source URL:
http://www.kleinfelter.com/svn-import-with-ignore