Book Image

Learning Perforce SCM

By : Neal Ralph Firth, Robert Cowham
Book Image

Learning Perforce SCM

By: Neal Ralph Firth, Robert Cowham

Overview of this book

<p>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.<br /><br />Learning Perforce SCM provides practical knowledge which will transform you into confident and competent Perforce users in your day-to-day operations.<br /><br />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.</p> <p><em>"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"</em><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>Laura Wingerd, author of Practical Perforce.</em></p>
Table of Contents (19 chapters)
Learning Perforce SCM
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Command summary


Some commands are used frequently. This section organizes the commands by the chapter where they are first used. Use the previous help options and the command classification examples to find out more details about the commands mentioned.

Tree reporting commands

These commands are used to build trees. Where they are used to provide chapter specific information we'll repeat them.

  • clients: list all clients (workspaces)

  • client: show information for a particular client (workspace)

  • depots: list depots

  • dirs: list directories

  • fstat: list files within a directory and establish file status information

File information – chapter 2

These commands are specific to file information operations:

  • changes: lists changelists

  • fstat: file attribute information

  • files: file names (more appropriate for command line users)

  • sizes: file size information

Basic operations – chapter 3

These commands are specific to the basic operations:

  • login: login to the server

  • sync: populate a workspace (synchronize workspace with server)

  • edit: edit a file (check out)

  • add: add a file

  • delete: delete a file

  • diff: establish file differences

  • revert: revert a change

  • submit: submit a change

Changelists – chapter 4

These commands are specific to changelist operations:

  • changes: list changelists

  • change: create, edit, delete a changelist

Detailed file information – chapter 5

These are commands specific to detailed file information operations:

  • filelog: file history

  • fstat: detailed file information

  • labels: list labels

  • annotate: generates time-lapse details

Workspaces – chapter 6

These are commands specific to workspace operations:

  • workspaces: list workspaces (or clients)

  • workspace: define, edit, delete a workspace (or client)

Dealing with conflicts – chapter 7

These are commands specific to conflict operations:

  • resolve: resolve a conflict

  • lock: lock a file

  • unlock: unlock a file

Branching – chapter 8

These are commands specific to branching operations:

  • integrate: create, merge, propagate branches (also known as integ)

  • propagate: a specific variation of integrate for initial population

  • resolve: resolve conflicts

  • fstat and filelog: used to generate revision graphs

  • branch: create, edit, delete branch mappings

Streams – chapter 9

These are commands specific to stream operations:

  • stream: create, modify, delete a stream

  • streams: list streams

  • propagate: for initial creation of streams

  • integrate: merge-down between streams

  • copy: for use on copy-up between streams