[p4] Using previous version of a file

Chuck Karish chuck.karish at gmail.com
Fri Dec 22 11:33:15 PST 2006


On 12/21/06, Dave Lewis <dlewis78731 at gmail.com> wrote:
> sync to version 2,
> open for edit
> make changes
> sync to head,
> resolve -ay
> submit

The key to understanding this is that if a file is open for edit,
"p4 sync" changes the file's version number but does not
modify its contents.  The contents are changed (or your choice
not to change is recorded) only by "p4 resolve".

-- 
Chuck Karish   karish at well.com   (415) 317-0182


More information about the perforce-user mailing list