Jump to content


How to rollback to a changelist using a command line(Not Gui)


  • Please log in to reply
No replies to this topic

#1 Mohannad

Mohannad

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 19 July 2018 - 02:23 PM

Hello,

I am a perforce beginner user.
I am writing a script that adds, deletes and edits files and revert all changes at the end.

I tried to do the following to revert all changes:

p4 sync <path>  @oldRevision
p4 add <path>                                    # to add the deleted files
p4 sync
p4 resolve -ay
p4 submit


and this revert all changes and the deleted files but it does not remove the new added files.
How can I remove the new added file?

Thanks in advance
Mohannad




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users