P4Web Release 2005.1 User Guide
[Getting Started]  [How To...]  [Browser Tips]  [Glossary]  [Road Map]  

Opening Files for Edit

When Perforce puts files in your workspace, it normally gives them read-only permission to start with. (See the sync command to find out how to get files into your workspace.) The open for edit command makes files writable so you can edit them, and puts them in a pending changelist so you can submit them later. The "" icon reminds you when you have files open for edit.

You can open files for edit by:

The Open for Edit Options page

Selecting Open for edit... from the pulldown menu takes you to the initial Open for Edit page, where you can select the following file options. Once you have selected your options, click the Open for edit button to open files for edit.

Put opened files in changelist
If your client workspace has more than one pending changelist, this option is available to let you select the changelist into which opened files appear.

Specify filetype
Use this option to change the filetype of Perforce-managed files. Click the checkbox and select the filetype and filetype modifier(s). When you submit files opened this way, the new revisions in the depot will have the new filetype.

Restricting files
If you came to this page by clicking a directory and then selecting Open for edit... you can restrict the files to be opened.

Regardless of which files you select, a file will only be opened for edit if all of the following conditions are true:


Copyright 2005 Perforce Software. All rights reserved.