1 message in com.perforce.perforce-userHow do you undelete a file?
FromSent OnAttachments
Will...@intuit.com22 Sep 1998 17:02.Other
Subject:How do you undelete a file?
From:Will...@intuit.com (Will@intuit.com)
Date:09/22/1998 05:02:23 PM
List:com.perforce.perforce-user
Attachments:
RFC822 message headers - 1k

This seems trivial but I couldn't seem to find it in the documention or the mailing list archive.

Suppose I deleted a file with

p4 delete foo.c p4 submit

Now, a couple of changelists later I want to reinstate foo.c to be part of the tip. So, I get the last active foo.c by

p4 sync foo.c#3

Edit the file

p4 edit foo.c

and try to submit it and get the following message

Submitting change 86. //depot//foo.c - edit of deleted file; must revert Out of date files must be resolved or reverted. Submit failed -- fix problems above then use 'submit -c 86'.