is there a way to find all the perforce workspaces which are mapping a certain file in the depot? -


i have file on perforce depot , when updating automated script want find workspaces mapping file (with p4 command) , send emails owners of these workspaces (file containing latest view spec of project , recipients of email should notifications can update view spec )

providing none of workspaces want @ using 'host' field, can run:

p4 -c have

to list of files synced on client.

note first involve getting list of workspaces on server, running:

p4 clients

also may quite resource intensive, if server has lot of clients sync lot of files, recommend using perforce review daemon or perforce swarm code review , notification.

more details these available here:

http://www.perforce.com/perforce/doc.current/manuals/p4sag/chapter.scripting.html

http://www.perforce.com/collaboration

hope helps, jen.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -