O'Reilly logo

Learning Perforce SCM by Robert Cowham, Neal Ralph Firth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Common best practice questions

For the most part, workspace best practices boil down to variations on the following rules:

  • Map only what you need
  • Use straightforward mappings
  • Avoid content changes you can't control
  • Clean up when done

This is not to say that there aren't valid exceptions to these rules. However, such exceptions are rare in typical development scenarios.

Changelists and open files

Remember that a pending changelist belongs to only one workspace and that an open file belongs to only one changelist. If you find that you need the same file to be open in more than one changelist then consider multiple workspaces. Multiple workspaces provide a controlled environment for the management of potential conflicts. We'll talk more about conflicts ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required