Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Determining the last changelist synced to in Perforce

rajeshkumar created the topic: Determining the last changelist synced to in Perforce
7 down vote accepted

The simple answer is:

p4 changes -l “…#>have”

You need the quotes to avoid your shell doing redirection.

You can trivially iterate over the changes and call “p4 describe” on each one.

You can get a full diff by using “p4 diff2” (assuming you want a unidiff):

p4 diff2 -du …#have …#head

But that doesn’t give you a per-changelist diff.

stackoverflow.com/questions/4139076/how-…c-directory-by-non-l

stackoverflow.com/questions/47007/determ…ynced-to-in-perforce

answers.perforce.com/articles/KB_Article…elist-of-a-Workspace
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x