Perforce repository monitor for Windows
-
03-07-2019 - |
Question
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).
Solution
If you use the Perforce GUI client, you can setup email notifications for as many folders as you like by going to:
- Connection > Edit Current User... > Reviews tab
- Right click each of the locations you're interested in tracking and click "Include Tree"
- Click OK
This assumes the review daemon has already been setup on the server.
OTHER TIPS
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".
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.