user1016759
user1016759

Reputation: 189

P4 Perforce Undelete or Recreate Deleted Changelist

I accidentally deleted the wrong change list. I need to either undelete it, or create a new one that is identical to the deleted one.

Can somebody suggest a process to accomplish either goal? TIA!

Upvotes: 0

Views: 968

Answers (1)

Samwise
Samwise

Reputation: 71454

You may need to expand on what you mean by "deleted a changelist" -- a changelist can only be deleted if it is empty. So to recreate a deleted changelist, all you need to do is create a new empty changelist:

p4 change

Changelist descriptions aren't stored in the spec depot IIRC so unfortunately there's not an easy way to recover the old description, but usually changelist descriptions aren't super important so I'd assume it's okay to just type up a new one? (If it is super important you could get it from the journal but that's challenging enough that I won't go into it here.)

Upvotes: 2

Related Questions