Creates an element (if one does not exist) corresponding to each selected file or directory in a workspace subtree
The import command creates an element corresponding to each file or directory name in the workspace, if the element does not already exist in the VOB. For each file in the specified subtree, import checks to see whether an element of that name exists in the VOB. If not, import invokes mkelem on the file.
Permissions Checking: For checked-out directories, permissions checking and locks are the same as for checkout. For created elements, permissions checking and locks are the same as for mkelem.
CHECKOUT OF THE NEW ELEMENT. Default: mkelem checks out the new element. The file in the workspace becomes the checked-out version of the element. If -ci option is not specified, the local files are made writable.
SPECIFYING WHICH FILES TO EXCLUDE. Default: None.
CREATING NEW ELEMENT NAMES IN LOWERCASE. Default: In Windows 95 or Windows NT, the default is to create the filename as it exists in the workspace. In Windows 3.x, the default is to create all new element names in all lower-case by default.
EVENT RECORDS AND COMMENTS. Default: Creates one or more event records, with commenting controlled by your .clearcase_profile file (default: -cqe). See CUSTOMIZING COMMENT HANDLING in the comments reference page. Comments can be edited with chevent.
SPECIFYING THE FILES TO BE IMPORTED. Default: None.
Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
cmd-context import *.c
cmd-context import -exclude c:\users\jed\ex_file foo\*
cmd-context import -ci src/*.c
cmd-context import foo
attache_command_line_interface, checkout, mkelem, wildcards
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved. |