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
Post a Comment