Revert File not in a workspace in perforce?

Both of these return nothing. The file is still listed under pending changelists for the user. – Toby Allen May 27 '09 at 9:24 I recently came across this scenario, and both the commands you mentioned came back empty, though p4 opened -a did return the offending user@client combo I needed to clean up.

– Goyuix Jun 29 at 19:17.

Solved. A bit weird but this is what I did. I got the details of the default changelist that contained the file.It had the workspace name which was the name of a machine.

I logged into the machine and then into perforce as the user. At this point I could see the pending changelist and revert the file. Now I can delete the user.

How did this happen? I think what must of happened was a confusion of clients. A while back I changed the owner of quite a few clients on that machine (its the build server) and some of these clients must have had open files for the old user.

This is the only explanation I can come up with.

Discard changes made to open files. Use p4 revert to discard changes made to open files, reverting them to the revisions last p4 synced from the depot. This command also removes the reverted files from the pending changelists with which they're associated.

When you revert files you opened with p4 delete, the files are reinstated in the client workspace. When you revert files that have been opened by p4 add, Perforce leaves the client workspace files intact. When you revert files you've opened with p4 integrate, Perforce removes the files from the client workspace.

P4 revert differs from most Perforce commands in that it usually requires a file argument. The files that are reverted are those that lie in the intersection of the command line file arguments and the client view. You don't need to specify a file argument when using the -a flag.

Reverting a file that has been opened for edit will overwrite any changes you have made to the file since the file was opened. It may be prudent to use p4 revert -n to preview the results before running p4 revert.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions