Free Sample
+ Collection

Learning Perforce SCM

Neal Ralph Firth, Robert Cowham

Taking control of your coding activities is simple using this guide to Perforce SCM. Written by an expert in the field, it takes you through the key concepts and practical day-to-day applications in an accessible, friendly style.
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849687645
Paperback254 pages

About This Book

  • Master the use of P4V – the Perforce Visual Client
  • Get into the Perforce mindset for seamless use in your daily work
  • Grasp key concepts and learn how to apply them for proper configuration management
  • Clear incremental approach from fundamentals to more advanced application of principles
  • Step-by-step instructions with pointers and ideas for self-exploration and a sample repository to illustrate the ideas and guidance in the book
  • Based on the authors’ experience training thousands of users around the world

Who This Book Is For

Learning Perforce SCM is for anyone who wants to know how to adeptly manage software development activities using Perforce. Experience with other version control tools is a plus but is not required.

Table of Contents

Chapter 1: Getting Started with Perforce
Version control
Software configuration management
Centralized and distributed version control
Understanding Perforce clients and servers
Introducing the core Perforce concepts
Dealing with installation
The Perforce mindset
Following along
Chapter 2: The P4V GUI
Understanding the P4V display
Accessing P4V actions
Exploring the tree pane
Exploring the view pane
Reviewing activities
Chapter 3: Basic Functions
Getting something to work with
Basic SCM actions
Fast access file information
Getting help
Chapter 4: Changelists
Creating useful changelists
Using changelists for an organization
File management at submit
Changelist numbering
Chapter 5: File Information
File properties
Understanding file versions and history
Depot paths
Finding files – an introduction to wildcards
Showing history
Showing differences between file revisions
Showing folder/directory differences
Other options for comparing files or folders
P4V time-lapse view
Chapter 6: Managing Workspaces
What does workspace mean?
Managing workspaces
Specifying a workspace
Common best practice questions
Chapter 7: Dealing with Conflicts
The origin of a conflict
Avoiding conflicts
Chapter 8: Classic Branching and Merging
Understanding branching
The basic branching pattern
Creating our first branch
Propagating changes between branches
Automatic resolve
More on P4V Revision Graph
Selectively propagating changes
Using branch mappings
Other branching patterns
OS copy is not a branching activity
Chapter 9: Perforce Streams
Understanding streams
Creating a stream
Migrating from classic branches to streams
Other standard types of stream
Managing streams
How streams handle renames
Chapter 10: The P4V User Experience
Navigating large trees of folders
Custom P4V tools
P4V preferences
Reconciling offline work

What You Will Learn

  • Use Perforce to significantly reduce the overhead of working as part of a team
  • Understand your codebase and its evolution over time through powerful reporting options
  • Use classic branching and streams effectively
  • Manage changelists efficiently
  • Get to grips with the P4V GUI
  • Use workspace features to solve common challenges with development patterns and environments
  • Confidently deal with conflicts

In Detail

Learning Perforce SCM is a pragmatic how-to guide, explaining the key concepts and usage of Perforce. Based on the authors' experiences training thousands of users around the globe, it explains those key concepts in a clear, incremental manner, combining sound theory with the pragmatic application of principles.

Learning Perforce SCM provides practical knowledge which will transform you into confident and competent Perforce users in your day-to-day operations.

You'll start by learning how to use Perforce to track your day-to-day coding activities. Once a solid foundation is established you'll learn how to apply the data mining features to evaluate current and past activities. Then you'll learn how to configure Perforce so that it adapts to support your specific development needs. All the while you'll be learning how to deal with conflicts and use the tool to communicate with other team members. Finally, you'll learn about using branches and streams to provide seamless support for concurrent development. Along the way, pragmatic hints and tips will help you avoid issues and identify areas for further personal exploration.

"It's wonderful to see a new book about Perforce, especially one written by Robert Cowham and Neal Firth. No one can teach Perforce better than these seasoned subject matter experts"
                                                                                                                                                         -          Laura Wingerd, author of Practical Perforce.


Read More