perforce

Having trouble deleting client


I'm getting this error while trying to delete a client named 'test':

Client 'test' has files opened. To delete the client, revert any opened files and delete any pending changes first. An administrator may specify -f to force the delete of another user's client.

I try p4 opened and it shows:

//TestRepo/test/TestA.java#1 - edit default change (ktext)

//TestRepo/test/TestB.java#1 - edit default change (ktext)

How do I delete these files so that I'm able to delete the client?


Solution

  • Run p4 revert //TestRepo/test/TestA.java //TestRepo/test/TestB.java from within the client first.