Ahh the resolve offline work feature must be new. It wasn't around when I was using perforce.
Re:Torvalds: git vs CVS
by koenigdavidmj on Monday April 26, 2010 @10:41PM
(#1297026)
Sadly, it has no direct CLI equivalent. You may find http://p4delta.sourceforge.net/ useful, however; it's like `svn up` for Perforce.
Of course, if you don't mark it writable (and just use :w! in Vim, for instance), then a 'p4 sync' may eat your work if anyone's changed the file.