Wednesday, June 25, 2008

Perforce and figuring out what you've got

Perforce can be pretty great. And sometimes it can be just ass. Here's an example:
I want to know what my current changelist is. There's no visual tool to find out (maybe there is in the new, Java based tool that is complete and utter ASS, but I refuse to use it). So you have to go to the command line. And it's pretty esoteric:
p4 changes -m1 #have<br />

Without the #have option, what you get it pretty much useless. And it's poorly documented that you need to have the #have option (#have isn't even documented, from what I can tell).