Dyno Fu
Dyno Fu

Reputation: 9044

how to list my shelved changes in perforce?

p4 shelve saved a lot of my effort to edit the same file with different changes.

The problem is after i shelved some changes, I start to forget what I've shelved. Is there a way to list all the changes I've shelved? I checked p4 help unshelve/shelve but could not find the option.

Upvotes: 48

Views: 38714

Answers (3)

JoelFan
JoelFan

Reputation: 38724

In the latest version of p4, you don't have to type out your username:

p4 changes --me -s shelved

Upvotes: 5

Tuxdude
Tuxdude

Reputation: 49583

This should list all the shelved changes per user.

p4 changes -u <USERNAME> -s shelved

Upvotes: 72

Dyno Fu
Dyno Fu

Reputation: 9044

p4 changes -s shelved

My colleague find the answer for me, and I answer my own question here.

Upvotes: 13

Related Questions