Using p4v I've unintentionally "marked for delete" several files in my local repo. How can I unmark these items. These items may have new changes and I do not want to override them.
Instead, users must revert the files to remove the mark for deletion. To do this, simply right-click on the folder or files in P4V and select Revert. The files will be returned to normal and work can continue.
The p4 undo command opens files to undo a set of previously submitted changes. The undone changes remain a part of the file history, but the new revisions submitted after p4 undo reverse their effect. If a single revision is specified, the specified revision is undone.
The revert command closes opened files by taking them out of your pending changelist instead of submitting them. Reverting also affects your workspace as follows: When you revert a file opened for edit or integrate, your workspace copy of the file is replaced with a copy of the file from the depot.
To delete a pending changelist, you must first remove all files and jobs associated with it and then issue the p4 change -d changenum command. Related operations include the following: To move files to another changelist, issue the p4 reopen -c changenum command.
In the pending changelist in the pv4 gui, you should see the files listed as marked for delete.
Select those files you do not want to delete, and revert them.
Just right click in perticular folder or files in P4V and click on Revert. It solved my problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With