rajeshkumar created the topic: Perforce command line only showing local users/cha
Perforce command line only showing local users/changelists/workspaces, but P4V shows all
We are using P4 for free with two users. In the P4V admin gui I can see both myself and my partner as users, and in the P4V gui I can see all workspaces (clients) and all changelists (both mine and my partner’s). From the command line, ‘p4 users’ only shows me, ‘p4 clients’ only shows my local workspace, etc. Is there some mode, environment setting, or special directory from which I have to use the p4 command line to see those global objects? I believe I am a p4 superuser (since I read this is the default on installation and we didn’t change anything). I’m obviously missing something very basic about the relationship between p4 command line and P4V.
The reason I need to use the command line is to delete an old client workspace (used on a different machine) that has an empty changelist associated with it. I therefore need to use ‘p4 client -d -f old-workspace-name’ from the command line. But when I do it tells me client ‘old-workspace-name’ doesn’t exist.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
mnanjala replied the topic: Re:Perforce command line only showing local users/cha
My first suggestion would be to check the P4PORT environment variable,or any other way of pointing Perforce at the correct server. P4V may be making the correct connection but the p4 command-line program may not.
That is, in P4V, look at the initial Open Connection window show, or
within P4V Connections -> Open Connection. Then, on the command line,
in the local workspace, try
p4 info
and compare the lines that start with the word “Server”.
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND