[p4] find a client for a file?

Ken.Williams at thomson.com Ken.Williams at thomson.com
Fri Oct 20 10:03:14 PDT 2006


I guess I interpreted the notion of "a client controlling a file"
differently, as some sort of ownership for a file in the depot.  You're
correct of course that "p4 opened -a" can be helpful if the question
actually makes sense. =)

 -Ken

> -----Original Message-----
> From: Chuck Karish [mailto:chuck.karish at gmail.com] 
> Sent: Friday, October 20, 2006 11:36 AM
> To: Williams, Ken (TLR Corp)
> Cc: mikee at mikee.ath.cx; perforce-user at perforce.com
> Subject: Re: [p4] find a client for a file?
> 
> Perforce does work that way if the administrator has turned on
> peessimistic locking:
> 
> http://perforce.com/perforce/doc.061/manuals/p4sag/03_superuse
> r.html#1083040
> 
> The suggestion to use "p4 opened -a <directory_name>/..." is correct.
> Be sure to specify a file or directory; the default is to 
> look for all opeened
> files in the depot, which can be very expensive.
> 
>   Chuck
> 
> On 10/18/06, Ken.Williams at thomson.com 
> <Ken.Williams at thomson.com> wrote:
> > Hi Mike,
> >
> > That's not really the way perforce works, there's no client that
> > controls the file.  Any client can be configured to get the 
> file, edit
> > it, and check it back in.
> >
> > Is there a local perforce administrator that could help you 
> solve the
> > issue?
> >
> >  -Ken
> >
> >
> > > -----Original Message-----
> > > From: perforce-user-bounces at perforce.com
> > > [mailto:perforce-user-bounces at perforce.com] On Behalf Of Mike
> > > Sent: Tuesday, October 17, 2006 10:14 AM
> > > To: perforce-user at perforce.com
> > > Subject: [p4] find a client for a file?
> > >
> > > Is there a command to find which client has ownership of a file?
> > > I need to modify a file in the source tree, but I do not know
> > > which client controls that file.
> > >
> > > Mike
> > > _______________________________________________
> > > perforce-user mailing list  -  perforce-user at perforce.com
> > > http://maillist.perforce.com/mailman/listinfo/perforce-user
> > >
> >
> > _______________________________________________
> > perforce-user mailing list  -  perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
> 
> 
> -- 
> Chuck Karish   karish at well.com   (415) 317-0182
> 




More information about the perforce-user mailing list