P4Web Release 2003.1 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 a P4Web Helper 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
  • Go To->Depot root turns on depot browsing. It takes you to a Path Browser page showing the root of the Perforce depot tree.

  • The Path Browser 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 Path Browser 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 Path Browser 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/...

  • Go To->Workspace root starts workspace browsing. It takes you to a Path Browser page showing files and path at the top level of your workspace.

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

  • The Path Browser shows only the files that are actually present in your client workspace.

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

  • You'll know when you are browsing in workspace mode 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.