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

Using The Tree view

The Tree view is the page P4Web shows you when you first connect. It's where you'll spend most of your time in P4Web. You can use it to navigate through path hierarchies and run commands that affect all the files in the current path at once. (If you are using P4Web in Viewer mode instead of Standard mode, only a subset of commands are available to you.)

Show/Hide Recent Activity
"Show/Hide Recent Activity"
The control panel offers menus and shortcut buttons, described below. Click Show Recent Activity to display the most recent changelists affecting the files in the current path.

The current path is shown at the top of the tree. Each level in the current path heading is a link. Use these links to navigate back up the path hierarchy. Files and subdirectories in that appear beneath the heading are links to directories and files. Click those links to navigate down the path hierarchy.

You can browse either depot or workspace paths in the Tree view. See Depot Browsing vs. Workspace Browsing to find out what the difference is, why each is useful, and how to switch between them.

Though the Tree view can display individual files, you can't run commands on individual files from here. You must click on the individual file to run commands on it, using the File view.

Files shown in the Tree view have state icons showing their current state in the depot and in your workspace; see below for a key to their meanings.

File operation menu

The Action menu at the top of the page allows you to work on files in the current path. To specify whether commands are run on all or selected files in the current path, select the directory or a file before running the command.
Sync... Synchronizes your workspace files with newer (or older) depot files.
Remove from workspace Removes files from your workspace without affecting depot files.
Open for edit... Makes your workspace files writable so you can work on them.
Open for add... Adds new files to the depot.
Open for delete... Deletes depot files and removes them from your workspace.
Revert... Discards changes to opened files and close files without submitting them to the depot.
Change filetype... Opens files so they can be submitted to the depot with a different filetype.
Integrate... Branch files or propagate changes between branched files.
Resolve... Reconcile your changes with changes made by other users.
Lock... Prevent other people from updating depot files you have opened.
Unlock... Releases locks on your opened files.

If you are in workspace browsing mode, the tree displays all the files in your workspace, including those not managed by Perforce. (You'll recognize the Perforce-managed files by their icons.) With the exception of Open for add..., the commands in the Action menu operate only on Perforce-managed files.

File filter

The file filter allows you to display various information about files at or below the current path level. After making filter selections, click Filter to display the results. If you in depot browsing mode, you have two additional filter options:

Shortcut Buttons

The Path Browser's shortcut buttons give you quick links to these common operations:
Displays the Tree view
Sync files in this path to head revisions. Copies updated files from the depot into your workspace.
Submit your default changelist. You can select all or some of the files open in the default changelist, enter a change description, and submit the files to the depot.
Reverts all files you've opened in the current path, but have not changed since opening. (This will not revert any files opened for add or delete, or on which you have done a resolve.)
Toggle display of recent activity in the control panel.
Cancels your last server request.

File state icons

Files that are up-to-date at head revision The file in your workspace file is in sync with the head revision of the depot file.
not in workspace The file has been deleted in the depot and is not present in your workspace. (You must have "Show deleted files" set to see this state.)
Files open in your current client workspace opened for edit The file is open for edit in your workspace.
opened for add The file is open for add in your workspace.
opened for delete The file is open for delete in your workspace.
opened for integ The file is open for integrate in your workspace.
opened for integ The file is open for branch in your workspace.
locked The file is locked in your workspace.
Files that you won't be able to submit until you've performed some action on them needs sync The file needs to be re-synced before you can submit it.
needs resolve The file needs to be resolved with changes either from a later revision of the same file or from the file that's being integrated to it.
Information that is independent of the state of your workspace opened by other clients The file is also open in another client workspace.
locked by another client The file has been locked in another client workspace.
head revision deleted The head revision of the file has been deleted.
in subdirectory The file lives in a subdirectory below the current path.
not in client view The file is not mapped in your client view. (You must have "Show entire depot view" set to see this state.)

File state details

Each file shown in the tree view is followed by details in the following format:

#[have]/[head] [filetype]
For example, the file state "#4/6 text+x" means that the revision you have in your workspace is #4, the head revision of the file is #6, and its filetype is "executable text".


Copyright 2012 Perforce Software. All rights reserved.