4

I have a changelist with large number of files. I have to work on other request so I shelved the changes using p4 shelve -c 899. But when I do a p4 opened the files are still showing up in workspace.

Since the number is large I want to revert all files at once. I have tried p4 revert -c 899 * but this didn't work(by * it is taking all files in current directory rather than the changelist).

How can this be done?

Aman Deep Gautam
  • 8,091
  • 21
  • 74
  • 130

1 Answers1

4

From the root of your client, do:

p4 revert -c 899 .... This will revert all open files in the current directory and in all subdirectories that are in changeset 899.

jamesdlin
  • 81,374
  • 13
  • 159
  • 204