Wednesday, March 26, 2008

Perforce tool: p4shelf

Perforce is the source control solution du jour. It's great, except for a few frustrating gaps in features.

One of those gaps is the ability to quickly and easily set aside the work you were doing. Here's a nice script that solves that, called p4shelf.

The author has several other good p4 tips as well, on his blog Aurora.

The next most frustrating aspect of p4 to me is the inconsistency of integrating file changes vs file creation/deletion. It is easy to integrate changes you've made to a series of files. However, when you've added or removed files between branches, suddenly your integrations are much more complex. You can not, for example, choose to ignore a file deletion.