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

Depot Browsing vs. Workspace Browsing

P4Web can be used to browse files and paths in the Perforce depot. If you are using P4Web in Standard mode you can also use it to browse files and paths in your client workspace. There are some distinctions between the two browsing modes you should be aware of:

Depot browsing Workspace browsing
  • The Switch to depot tree link turns on depot browsing. It takes you to a Tree view page showing the root of the Perforce depot tree.

  • The Tree view can show opened files in subdirectories. You can see at a glance which files you are working on at or below the current path.

  • The Tree view can show files not in your client workspace. For instance, files not synced to your workspace, and files you have opened for delete, can be browsed in depot mode.

  • You can restrict the scope of depot browsing to the current client view. See Settings and Preferences to find out how to set this. For users of large Perforce depots, this setting is a good idea because it reduces the amount of work the Perforce Server has to do for each P4Web Depot browsing request.

  • You'll know when you're in depot browsing mode because P4Web will show the current path using Perforce syntax. For example,

    //depot/projects/mars/...

  • The Switch to workspace tree link starts workspace browsing. It takes you to a Tree view page showing files and path at the top level of your workspace.

  • The Tree view shows only the files and paths at the current level. Opened files in subdirectories do not appear.

  • The Tree view shows only the files that are actually present in your client workspace.

  • The Perforce Server does less work for P4Web when you browse the workspace tree because it only has to get information about files in the current client view.

  • You'll know when you are browsing the workspace tree because the current path will be shown in local syntax. For example:

    Windows:
    c:\Joe\workspace\projects\mars
    Unix:
    /usr/team/joe/ws/projects/mars
    Macintosh:
    ::Hard Disk:Joe's Workspace:projects:mars

Please note:


Copyright 2003 Perforce Software. All rights reserved.