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

OS copy is not a branching activity

Some people don't like to branch files between code lines that aren't siblings or direct descendants. So what do they do? They use the native workstation OS to copy the file into their current workspace. We encounter this often enough to know it's a common practice. However, it's a practice that sets the stage for many future problems.

The fundamental issue with an OS copy is that it breaks any connection between the files. Without that connection you won't be able to easily track the evolution of the files. In particular, if you find a bug, it will be hard to find all of the files that might contain that bug. Likewise, breaking that connection is a problem for edits. Without a connection, there can't be a 3-way ...

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