Perforce:P4V 选项“添加到客户端视图”? (它存在于P4Win中)

发布于 2024-09-15 23:07:40 字数 291 浏览 2 评论 0原文

在 Perforce 领域,P4Win GUI 现在已成为“传统”,而新的 P4V 应该会填补空白(大多数时候确实如此)。

P4Win 中有一个非常有用(尽管相当隐藏)的选项,只需单击几下即可将库路径添加到客户端规范。

P4V中是否有类似的选项? ...因为我找不到。

(我知道我可以手动完成。)

这是 P4Win 功能的全部荣耀:

P4Win 显示“将文件添加到客户端” '选项

In the Perforce realm, the P4Win GUI is now "legacy" and the new P4V is supposed to fill in the void (and it does, most of the time).

There was one very useful (albeit rather hidden) option in P4Win that allowed adding a depot path to the client specification in a few clicks.

Is there a similar option available in P4V? ... because I can't find it.

(I know I can do it manually.)

Here is the P4Win feature, in all its glory:

P4Win showing 'Add files to client' option

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

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

发布评论

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

评论(5

庆幸我还是我 2024-09-22 23:07:40

这是 P4 GUI(旧的和新的)的典型特征 - 只要您知道在哪里查找(提示:通常不是您期望找到它的地方),它就可以做很多事情。

P4V 中有一个选项,类似于 P4Win 中旧的“将文件添加到客户端视图”,只是功能更强大! (它有点隐藏,我认为不像原来的那么精简)

你无法在仓库视图中找到它,当你需要它时你可能就在那里。相反,请转到“工作空间”视图,右键单击工作空间定义并对其进行“编辑”(或双击它,然后单击“编辑”)。

请注意刚刚打开的“工作区编辑器”窗口顶部的选项卡。选择“查看”选项卡。这里发生了很多事情,包括(显然)有关新“离线”模式的信息。

言归正传:在此窗口中,找到您需要的软件仓库并右键单击它。

Nirvana! 不少于 6 个菜单选项 (!) 允许您指定如何以及向工作区定义添加或删除内容。

alt text

甚至还有一个看起来有点可怕的“高级”模式:-&

替代文本

This is typical for the P4 GUI (old and new) - it can do lots of things, if only you knew where to look (hint: usually not where you'd expect to find it).

There IS an option in P4V similar to the old 'Add Files to client view' from P4Win, only a lot more powerful! (it's a bit hidden and IMO not as streamlined as the original)

You can't find it in the depot view, where you probably ARE when you need it. Instead, go to Workspaces view, right-click the workspace definition and 'Edit' it (or dbl-click it then click 'Edit').

Notice the tabs on top of the 'Workspace editor' window that just opened. Select the 'View' tab. There is a lot going on here, including (apparently) information on the new 'Offline' mode.

To get to the point: in this window, find the piece of depot you need and right-click it.

Nirvana! There are no less than 6 menu options (!) that allow you to specify how and what to add OR remove to/from the workspace definition.

alt text

There's even an 'advanced' mode that looks a bit scary :-&

alt text

家住魔仙堡 2024-09-22 23:07:40

对于 P4V 版本:Rev. Perforce Visual Client/LINUX26X86_64/2012.1/490402

发布于 2012 年 7 月 02 日

执行以下操作

转到 Connections ->编辑当前工作空间

在“基本”选项卡、“工作空间映射”中,右键单击树并选择“包含树”。

For P4V version : Rev. Perforce Visual Client/LINUX26X86_64/2012.1/490402

Released on 2012 July 02

Do as follows

Go to Connections -> Edit Current Workspace

In the Basic tab , Workspace Mappings , Right click on the tree and Include Tree.

你的呼吸 2024-09-22 23:07:40

我认为不存在,您需要打开工作区视图并在那里进行更改。

I don't think that there is, you need to open the Workspace view and make your changes there.

时光是把杀猪刀 2024-09-22 23:07:40

编辑您的工作区并更改视图以包含相关目录。虽然我每天都使用 P4V 并且“添加到客户端视图”似乎敲响了警钟......

Edit your workspace and change the view to include the relevant directory. Although I use P4V everyday and 'Add to client view' seems to ring a bell....

临走之时 2024-09-22 23:07:40

值得注意的是,他们在某个时候将此功能添加到了 P4V 客户端中。现在,您可以右键单击软件仓库选项卡中的路径并选择“映射到工作空间视图...”。它将打开工作区编辑器并添加了路径。

Of note, they added this feature into the P4V client at some point. You can now right click on a path in the depot tab and choose "Map to Workspace View...". It will bring up the workspace editor with the path added.

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