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?

4

1 回答 1

0

关于 robocopy,我相信您可以使用该/xd开关排除目录,包括源或目标中的目录。对于 SVN,请尝试告诉 robocopy 排除.svn文件夹:

robocopy C:\sourcedir\ C:\mydestination /mir /xd .svn
于 2009-04-14T02:43:20.563 回答