Perforce Command Reference:   [Index] [Prev] [Next]


p4 reviews

Synopsis

List all the users who have subscribed to review particular files

Syntax

p4 [g-opts] reviews [-c changelist#] [file...]

Description

p4 reviews -c changelist# lists each user who have subscribed to review any files included in the submitted changelist changelist#. The alternate form p4 reviews file... lists the users who have subscribed to review any files that match the file patterns provided as arguments. Users subscribe to review files by providing file patterns in the Review: field in their p4 user form.

If you provide no arguments to p4 reviews, all users who have subscribed to review any files will be listed.

This command is meant for use in external programs that call Perforce.

Options

-c changelist# List all users who have subscribed to reviews any files included in submitted changelist changelist#.
g_opts See global options section.

Usage Notes

Can File Arg Use
Revision Specifier?
Can File Arg
Use Revision Range?
Minimal
Access Level Required
No No list

OK, haven't you ever done anything you're not proud of?
It is possible to enter values in the Reviews: field that mean something originally unintended by Perforce in order to create more generalized daemons. For example, at Perforce we run a jobs daemon that sends email to any users who've subscribed to review jobs anytime a new job is submitted. Since there's nothing built into Perforce that allows users to subscribe to review jobs, we co-opt a single line of the Reviews: field: Perforce sends job email to any users who've subscribed to review the non-existent path //depot/jobs/... . Thus, it is possible to use p4 reviews for purposes it wasn't meant to support, but you must be somewhat clever about it.

Related Commands

To subscribe to review files p4 user
List all submitted changelists above a provided changelist number p4 review
To set or read the value of a Perforce counter p4 counter
To read full information about a particular changelist p4 describe



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)