The New File Command

The New File command creates a new, empty file in the current directory the directory that's highlighted in the Folders pane (this command is not available when you're working in the Searches pane) of your workspace tree The ordinary directory tree, located in the user's disk storage, in which the user performs development tasks and executes AccuRev commands.. It can also add the file to the depot -- that is, place the file under version control The discipline of keeping track of the changes made over time to a file or directory. by converting it to an element A file or directory that is under AccuRev version control. See version..

If you choose not to place the file under version control, you can do so later with the Add to Depot command.

Invoking the New File Command

In the Folders pane of the File Browser, navigate to the directory in which you want to create the new file. Then, click the New File button in the Details pane toolbar.

Using the New File Dialog

You can specify these settings for the new file:

Name

The simple name (leaf name) of the new file.

Add to Depot

If checked, AccuRev will place the newly created file under version control, by converting it to a file element. The Add to Depot dialog appears, in which you can specify a comment, the file's element type The kind of data stored in versions of a file element. Different versions of the same element can have different element types. and optional exclusive file locking An AccuRev feature that enforces serial development: when a file becomes active in one workspace, an exclusive file lock prevents the file from becoming active in sibling workspaces..