Posts tagged as:

perforce

How to make Vim and Perforce work together in three easy steps

September 2, 2008

(Vim logo from http://www.vim.org/)
Step 1: Make sure that the perforce client is in your path. Can you open a shell (or command prompt) and type ‘p4′? Do you get a help message from Perforce?
Step 2: Open the .vimrc file (on Windows, look for a _vimrc file) in your home directory. If you [...]

Read the full article →

Roll back a submitted Perforce changelist easily and quickly

August 19, 2008

(image taken from goldberg’s photostream)
One of those key features of a version control system is being able to take a change that you submitted (maybe 5 minutes ago, maybe last week) and vaporize it. Like it never existed.
Actually, doing that is hard, but you can apply a change that is the exact mirror image [...]

Read the full article →

How to find out what files aren’t added in your Perforce client

April 28, 2008

(image taken from jparise’s photstream)

I’ve first used Perforce in 2002. At the time we were using another product. Perforce was about 10 times as fast and 10 times less likely to make me want to storm into the comms room, rip the source code server out the rack and drop it off the [...]

Read the full article →

renaming multiple files in Perforce with the help of Ruby

March 19, 2008

Half an hour ago, I had about 60 files that had the same irritating prefix to the filename. I wanted to drop the prefix so the reader could see the significant portion of the filename first. There is no way that I would rename that many files by hand and not mess one [...]

Read the full article →