[p4] which client for a file?
Stephen Vance
steve at vance.com
Tue May 8 14:00:09 PDT 2007
What do you mean "work for that file?" Is the file in a particular
location or just any file by that name?
Do you mean which client specs have views that include that file
regardless of whether it's synced? No single command, but you could do
that by iterating through each client and issuing a 'p4 where' against
it. There are some additional details regarding possibly faking the host
and user.
Do you mean which clients have synced the file? I believe you could
query the have table through P4Report, or you could iterate through each
client and issue a 'p4 have' against it.
Both of these are more complicated to script if you mean any file by
that name.
Steve
mikee wrote:
> Is there a way given a file to find what clients work for
> that file? If I have file x.pl, is there a p4 (or web even)
> command where I can find all clients that work for that file?
>
> Mike
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
More information about the perforce-user
mailing list