I have a Nant script which updates a directory with the latest source code (checked out from the svn repository), then updates Assembly Info and a few other files and does some builds.
I want the working copy which includes all changes made (after the build is run) be made into a tag revision (described in SVN help 4.19. Branching / Tagging). This should happen via command line arguments run at the end of the build script.
Currently the following line is used but it will not pick up the changes.
svn copy -r 1234 c:\workingCopy http://svnRepository
It is necessary to switch the working copy after the above command and commit the changes?
-r
option identifies the revision to be copied. I think you don't need to provide that.
I shall suggest your script doing:
svn commit
svn copy c:\workingCopy http://example.com/svnrepo/proj/tags/proj-x.y.z