tags:

views:

187

answers:

2

I used to work with Subversion and a system tray tool (SVN Notifier) to monitor the repository so I would immediately see when my local copy was not up-to-date anymore, and I am wondering if some equivalent was available for Perforce (on Windows).

A: 

I haven't seen such a thing but it would be pretty trivial to write. Just check to see if the output of p4 sync -n contains any informaiton.

stimms
You don't want to do p4 sync -n. What you want is a review daemon. That way users can specify in the review field of their user what they are interested in.
chrish
+3  A: 

stimms answer will certainly do exactly as you ask.

But if you want to go a little further an alternative would be to use the P4 Review mechanism, where you can get Perforce to send you an email if changes are made to a user specified part of the depot. It will need setting up on the server, but is trivial to do. See the Perforce documentation and website and look for "review daemon".

Greg Whitfield