Can you “ignore” a directory in P4V?

As of version 2012.1, Perforce supports the P4IGNORE environment variable. This allows you to specify files and directories to ignore when using the commands that search for or add new files (p4 add, p4 status, and p4 reconcile). To use an ignore file, create a file in the root of your workspace and give it … Read more

How to view Shelved P4 Changes?

p4 describe -S 1234 should to the trick, see the documentation on describe. To see the file content you would unshelve the files into your workspace (assuming you have a workspace for the same project your colleague is working on). Create a new (empty) changelist with p4 change (results in e.g. 2345), then use p4 … Read more

How to delete a workspace in Perforce (using p4v)?

From the “View” menu, select “Workspaces”. You’ll see all of the workspaces you’ve created. Select the workspaces you want to delete and click “Edit” -> “Delete Workspace”, or right-click and select “Delete Workspace”. If the workspace is “locked” to prevent changes, you’ll get an error message. To unlock the workspace, click “Edit” (or right-click and … Read more

What is the difference between “Rollback…” and “Back Out Submitted Changelist #####” in Perforce P4V

Both of these operations restore a set of files to a previous state and are essentially faster, safer ways of undoing mistakes than using the p4 obliterate command (and you don’t need admin access to use them). In the case of “Rollback…”, this could be any number of files, even an entire depot. You can … Read more