Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perforce: Can I put a 'watch' on a file, so that I am notified when the file changes?

I want to get notifications when new changes are made to a file in Perforce.

like image 293
Asad Iqbal Avatar asked May 17 '12 17:05

Asad Iqbal


People also ask

What is tree in perforce?

The Tree view is the page P4Web shows you when you first connect. It's where you'll spend most of your time in P4Web. You can use it to navigate through path hierarchies and run commands that affect all the files in the current path at once.

What is perforce checkout?

Perforce allows you to check out the head revision or any previous revision of a file. To enforce the IDEs' check-in and check-out procedures, Perforce controls the read-write permissions of files. When files are checked out for edit, their permissions are set to read-write.


1 Answers

If you are running the p4 review daemon, you just add the file to your "reviews" in your p4 user.

# A Perforce User Specification.
#
#  User:        The user's user name.
#  Email:       The user's email address; for email review.
#  Update:      The date this specification was last modified.
#  Access:      The date this user was last active.  Read only.
#  FullName:    The user's real name.
#  JobView:     Selects jobs for inclusion during changelist creation.
#  Password:    If set, user must have matching $P4PASSWD on client.
#  Reviews:     Listing of depot files to be reviewed by user.

User:   you

Email:  [email protected]

Update: 2012/05/01 11:08:18

Access: 2012/05/17 11:02:27

FullName:   Your Name

Password:   ******

Reviews:
    //depot/directory/...
    //depot2/dir2/file_to_review.cpp
like image 90
jgritty Avatar answered Oct 28 '22 05:10

jgritty