Copy a file or folder in Subversion
Namespace: MSBuild.Community.Tasks.Subversion
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Create a tag of the trunk with the current Cruise Control build number:
Copy Code | |
---|---|
<Target Name="TagTheBuild"> <SvnCopy SourcePath="file:///d:/svn/repo/Test/trunk" DestinationPath="file:///d:/svn/repo/Test/tags/BUILD-$(CCNetLabel)" Message="Automatic build of $(CCNetProject)" /> </Target> |
Remarks
This is most useful for automatically tagging your source code during a build. You can create a tag by copying a path from one server location to another.
Inheritance Hierarchy
System.Object
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.Subversion.SvnClient
MSBuild.Community.Tasks.Subversion.SvnCopy
Microsoft.Build.Utilities.Task
Microsoft.Build.Utilities.ToolTask
MSBuild.Community.Tasks.Subversion.SvnClient
MSBuild.Community.Tasks.Subversion.SvnCopy
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
See Also
Documentation version 1.0.0.0.