To check in a local file named home/etc/myfile as the component mypath/mycomponentname as the component type file for the platform Solaris 7 with the description “this is my file” and no designation as a configuration file, you would enter the following line in a batch file:
/home/myfile|mypath/mycomponentname|file|NM:Solaris 7|this is my file |
If the file being checked in was a configuration file, you would add a boolean field to the end of the line and the field to true. For example:
/home/myfile|mypath/mycomponentname|file|NM:Solaris 7|this is my file|true |
If you wanted to omit a description for the mycomponent, you do change this line to the following (note the adjacent pipe separators):
/home/myfile|mypath/mycomponentname|file|NM:Solaris 7||true
To check in the component as a major version (e.g., 2.0 as opposed to 1.7), you would add true in the boolean field for major version check-ins:
/home/myfile|mypath/mycomponentname|file|NM:Solaris 7||true |true
If the check in was desired to not hide the previous component, the line above would become (note the additional false in the final field):
/home/myfile|mypath/mycomponentname|file|NM:Solaris 7||true |true|false
Similar format considerations apply to the optional boolean specifying whether to include owner and group information when storing permissions information.