SVN Import Force for importing existing file

Posted by Daniel A. White on Stack Overflow See other posts from Stack Overflow or by Daniel A. White
Published on 2010-03-12T03:14:34Z Indexed on 2010/03/12 3:17 UTC
Read the original article Hit count: 343

Filed under:

I am creating a text file and a zip file for a tag automatically with MSBuild. My msbuild project is called by cruisecontrol.net.

The text file is always going to be latest.txt and the zip file will be (version).zip (so it will be different every time). I do not want to commit these files back to my trunk, so I discovered svn import. On the first time, it works for both. On successive runs, it fails since latest.txt already exists in the repository. Do I need to use svn import --force or something else to get these two files pushed up to my repository?

© Stack Overflow or respective owner

Related posts about svn