Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x