Perforce command line only showing local users/cha

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.
Rajesh Kumar
Twitt me @

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”.

Rajesh Kumar
Follow me
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x