August 04, 2005

A few simple p4 notes

This is for the next time I open-for-edit in p4 a bunch of files before going out of town:

# show all filenames opened for edit on the client with
# different content than what's in the depot
$ p4 diff -sa
 
# show all filenames opened for edit on the client with
# identical content as what's in the depot
$ p4 diff -sr

I like 'svn status' more (particularly since it works offline), but this is better than a stick in the eye. In theory I could do better with Perforce's proxy (run a local server on your machine then sync the servers) or maybe svk (which works with SVN and P4), but I haven't got enough tuits for the stuff already on my plate...

Next: Pinball fever!
Previous: Some initial impressions of NYC