views:

103

answers:

1

I'm trying to add the output of a Sandcastle compilation into source control, but Sandcastle has issues trying to output directly into a subversion-controlled directory structure.

So, what I was trying to do is output into a non-controlled directory and then robocopy into the svn-controlled structure. I'd prefer to use /MIR to remove any old files, but the problem is that this causes robocopy to wipe out all the svn property stuff.

So, is there an easy way to use robocopy the way I want, or is there another solution?

A: 

Regarding robocopy I believe you can use the /xd switch to exclude directories, including a directory in your source or destination. For SVN try telling robocopy to exlude .svn folders:

robocopy C:\sourcedir\ C:\mydestination /mir /xd .svn
Steve Flook