For many years I’ve used CVS, and my experience with Subversion started during the pre-alpha days, so I am accustomed to the features they provide. In particular, I make heavy use of the Subversion status command to list not only the files I’ve modified locally, but also the files I’ve created but not yet added to the list of pending changes. Recently I was working for Gracenote, which apparently made their SCM selection at a time when there were very few good choices. As such, they have been using Perforce for 10 years, never having bothered to re-evaluate that decision given that many very good options have become available since then.
Finding myself having to use an SCM that is frozen in time, like a caveman in an ice block, I searched high and low to find a way to get the Perforce command line client provide me with the ability to discover unversioned files. Alas, I found none. Being that I know how to write halfway passable Python I wrote a script that does exactly what I want: p4unknown.py
Admittedly it’s not the prettiest name for a script, but it works and I used it for several months while I was at Gracenote. Hopefully you may find it useful as well.
The link is no longer valid. Do you still have a copy of this script lying around?
Sorry about that, the link was not correct. I’ve fixed it. Thanks for pointing it out.