How do you revert a file to a revision within an integration in Perforce?

Posted by tenpn on Stack Overflow See other posts from Stack Overflow or by tenpn
Published on 2011-01-14T15:37:44Z Indexed on 2011/01/14 15:53 UTC
Read the original article Hit count: 178

Filed under:

I have two branches, let's call them mainline and dev1. I regularly integrate a file from mainline to dev1. The last-but-one time I integrated the file, it was at revision 3 in mainline. The last time, it was at revision 5.

Now for mysterious reasons lost to the sands of time, I want to work in dev1 with revision 4 of the file from mainline. Is that possible?

I can't integrate it across as P4V complains that all revisions have already been integrated.

I've tried right-click->get this revision on the revision graph, but that only updates which version of the file I have in mainline, not in dev1.

© Stack Overflow or respective owner

Related posts about perforce