Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do code-review changes before submitting in Perforce?

Tags:

perforce

Is there a way to get code-reviews done by PEER before submitting the changes in Perforce?I heard p4 shelve is an option,is it right?is there a better way?

p4 [g-opts] shelve [files ...]
like image 673
Ritz Avatar asked Oct 20 '25 04:10

Ritz


1 Answers

I would say that "p4 shelve" is the best way to do code review. You might want to look at Swarm, which offers code review features that are based around shelving.

https://www.perforce.com/perforce/r16.1/manuals/cmdref/p4_shelve.html https://www.perforce.com/perforce/r16.1/manuals/swarm/chapter.code_reviews.html

like image 126
Samwise Avatar answered Oct 23 '25 01:10

Samwise



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!