[p4] p4review daemon questions

Alen Ladavac alenl-ml at croteam.com
Mon Jun 11 23:49:13 PDT 2007


Marc wrote:
> * Is there an easy way to generate HTML colorized diffs, like SVN-Notify

You can setup a p4web server and make the daemon send mails with html
like this:

//depot/main/foo.h#8 edit <a
href="http://perforce:8080/@md=d&cd=//&cdf=//depot/main/foo.h&c=2q8@//depot/main/foo.h?ac=64&rev1=7">old</a>
<a
href="http://perforce:8080/@md=d&cd=//&cdf=//depot/main/foo.h&c=2q8@//depot/main/foo.h?ac=64&rev1=8">new</a>
<a
href="http://perforce:8080/@md=d&cd=//&cdf=//depot/main/foo.h&c=4Yp@//depot/main/foo.h?ac=19&rev1=7&rev2=8">diff</a>

(same for each changed file)

This allows one to click on the 3 links to see the old revision, the
new one and the diffs, using the p4web. And the p4web's has a pretty
nice colorized differ starting from 2007.2.

HTH,
Alen


More information about the perforce-user mailing list