Perforce Software

P4Web "filetype" Help Page

[Return to "How to Use P4Web"]

The Change file type command allows you to change the file type of files already open.

Command:

When you are ready to change a file's type, use the Change file type... button.

This feature has not yet been implemented as of build 14570, and is not yet fully documented.

Options:

Change opened files to type:

A file's filetype indicates both how the file is handled on the client and how it is stored on the Perforce server. A filetype can be specified either alone as filetype or by specifying a base filetype and using the supported type modifiers in the form filetype+modifiers.

If you wish to change the file type, activate the checkbox in the Options menu and enter the desired filetype in the space provided.

Change filetypes for opened files in changelist:

If you have more than one changelist pending when you run the Edit command, a checkbox and a drop-down list of currently-pending changelists will appear. To open files for edit within a specific changelist, activate the checkbox and use the drop-down menu to specify the desired changelist.

Files:

Specifies which files will be reopened. Choose between:

Files in //client-path:

  • ...and subdirectories:
    Files in the specified client path and all directories below will be reopened with the new filetype.

    This is equivalent to the command line:
    p4 reopen -t filetype //client-path/...

  • ...at this level only:
    Only files in the specified client path will be reopened with the new filetype. Any files in directories beneath the client path will be untouched.

    This is equivalent to the command line:
    p4 reopen -t filetype //client-path/*

Selected Files:

If files at the current directory level are open for editing and consequently eligible for a filetype change, they will appear here.

To include or exclude these files from the operation, click on the checkboxes for each file, and activate the radio button for the Selected Files option.

For Further Information:

[Return to "How to Use P4Web"]


Copyright 2000 Perforce Software
$Id: //depot/r99.2/p4-doc/manuals/p4web/help/filetype.html#2 $