[p4] what's the best way to determine the current client workspace?

Chuck Karish chuck.karish at gmail.com
Thu Jun 28 03:59:22 PDT 2007


On 6/27/07, Stephen Vance <steve at vance.com> wrote:
> You could use 'p4 set P4CLIENT' or you could parse the output of 'p4
> info'. The first one is the cleanest and yes, it does work on
> non-Windows systems.

'p4 set' runs on the client machine.  It shows the information that the
p4 utility would send to the server to provide the context for your
request.  If you use 'p4 info' the server parrots back that context.

-- 
Chuck Karish   karish at well.com   (415) 317-0182


More information about the perforce-user mailing list