Copy Files: copy
The command copies (clones) the folder tree and all the files from the source view to the target view.
The new folder and file tree are not shared. Every new file and folder is its own root share, with a single revision.
The target view needs to be an empty view, with no files or folders, anywhere in the view tree of the project.
Empty views are best created as non-derived views anywhere in a view hierarchy.
The source view may be any view in the project.
Syntax
The syntax for this command is:
copy -p "username:password@hostname:portnumber/projectName/sourceViewName" -targetView targetViewName [-comment] [-description]
Parameters
For information about the command parameters, refer to Operation Parameters.
In addition, you can include the following optional parameters:
Parameter | Description |
---|---|
-comment | The source file tip revision comment is copied to the target file. |
-descriptions | The source file tip revision description is copied to the target file. |