Can Perforce remove a version entry (like ClearCase Destroy)?

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-04-27T17:38:37Z Indexed on 2010/04/27 17:43 UTC
Read the original article Hit count: 148

Filed under:

I submitted a Changelist in Perforce, but I forgot to remove a couple of files from the list first. I want to undo those changes. I understand that Perforce allows me to "rollback" -- but that just submits another change to the file, cluttering my branch. This is a file I did not intend to change at all. When I go to integrate back into the baseline, this file shows up as needing to be integrated (even though it's the same as what's on the baseline).

In Clearcase, I had the ability to simply issue a "destroy" command on the specific version of the file, nuking it from the repository, as if had never been (yes, I realize this is scary from a revision control perspective - I understand the risks).

Is there an equivalent command in Perforce? Or am I trying to do something expressly forbidden?

© Stack Overflow or respective owner

Related posts about perforce