Download StarTeam® - Borland Technical Publications
Transcript
U s in g t he V i ew M a na g e r C o m m a n d L in e Option Description -di Deletes files from the specified object if they do not exist in the unspecified object. This option applies to files that are in folders that already exist in both objects. The full syntax is: -di source | target Use -di to indicate which object will change as a result of using this option. For example, -di target deletes files from the target object that do not exist in the source object. You may use this option more than once in a command if you want to change both the source and the target. No file is deleted based on this option unless its folder (or an equivalent folder) exists in both the source and target objects. This option has no effect when used with -copy. Use it with synchronizations: missing-objects-only (-nomerge), bidirectional (-bi), or source-to-target (the default) operations. -diffopts Must be used with the -diffutil option to provide the command-line options that go with that utility. The full syntax is: -diffopts " utilityOptions" You can include the following terms in utilityOptions: ■ $file1, as a place holder for the path to the source file to be compared. ■ $file2, as a place holder for the path to the target file to be compared. For example, suppose the comparison utility’s path is "D:\Programs\ Comparison Utility 8\Diffutil.exe" and the options to be used are "$file1 $file2". View Manager assumes that the options are appropriate for the utility to be used. Each time that View Manager needs to call the comparison utility, it replaces the terms that start with $ with the actual paths to those files and asks the operating system to execute the completed command. On UNIX systems, you need to use the escape character "\" in front of "$". For example, you would use "\$file1" instead of "$file1". -diffutil Specifies the use of a comparison utility other than Visual Diff by providing the complete path to that utility. The full syntax is: -diffutil "utilityPath" This option must be used with -diffopts to provide the command-line options for the comparison utility. It is ignored unless the operation is a source-to-target or bidirectional preview operation. Ch a pt er 8 : Us i ng V i e w M an a g er 127