Perforce 命令行仅显示本地用户/更改列表/工作空间,但 P4V 显示所有

发布于 2024-08-25 22:09:28 字数 411 浏览 1 评论 0原文

我们正在免费为两个用户使用 P4。在 P4V 管理 gui 中,我可以将自己和我的合作伙伴视为用户,并且在 P4V gui 中,我可以看到所有工作区(客户端)和所有变更列表(我和我的合作伙伴的)。从命令行中,“p4 users”仅显示我,“p4 client”仅显示我的本地工作区等。是否有某种模式、环境设置或特殊目录,我必须使用 p4 命令行才能查看这些全局工作区物体?我相信我是 p4 超级用户(因为我读到这是安装时的默认设置,我们没有更改任何内容)。我显然遗漏了一些关于 p4 命令行和 P4V 之间关系的非常基本的东西。

我需要使用命令行的原因是删除一个旧的客户端工作区(在另一台机器上使用),该工作区具有与之关联的空变更列表。因此,我需要从命令行使用“p4 client -d -f old-workspace-name”。但是当我这样做时,它告诉我客户端“旧工作空间名称”不存在。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

野心澎湃 2024-09-01 22:09:28

噢!我设置了两台 p4 服务器(其中一台是我作为实验而短暂设置的,后来忘记了)。我的图形用户界面指向真实的,而我的命令行指向实验的。他们都有一个有特定名字的客户,所以我把他们误认为是同一个。希望这可以帮助其他犯同样错误的人。

D'oh! I had a setup with two p4 servers (one that I had set up briefly as an experiment and forgot about). My gui was pointing to the real one and my command line was pointing to the experimental one. They both had a client with a certain name, so I was confusing them for being the same. Hope this helps someone else who makes the same mistake.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文