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

Using branch mappings

In our examples so far in this chapter we have specified source and target files directly. It is quite common to use a branch mapping instead.

You create a mapping from the Branch Mappings tab or File | New | Branch Mapping…, seen here:

Using branch mappings

As with other objects, such as workspaces, it is important to have a good naming convention for branch mappings. Consult your administrator for guidance. We have used a simple mapping called Jam-MAIN-BRUNO which reflects the name of the project and the two codelines involved.

The View: is particularly important and will need to be edited from the default. Like a workspace view, it is a mapping, ...

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