This post originated from an RSS feed registered with Java Buzz
by Chris Winters.
Original Post: A few simple p4 notes
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/search/registrar.php?domain=jroller.com®istrar=sedopark
Feed Description: Chris Winters on Java, programming and technology, usually in that order.
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...