Perforce:P4V 选项“添加到客户端视图”? (它存在于P4Win中)
在 Perforce 领域,P4Win GUI 现在已成为“传统”,而新的 P4V 应该会填补空白(大多数时候确实如此)。
P4Win 中有一个非常有用(尽管相当隐藏)的选项,只需单击几下即可将库路径添加到客户端规范。
P4V中是否有类似的选项? ...因为我找不到。
(我知道我可以手动完成。)
这是 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:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
这是 P4 GUI(旧的和新的)的典型特征 - 只要您知道在哪里查找(提示:通常不是您期望找到它的地方),它就可以做很多事情。
P4V 中有一个选项,类似于 P4Win 中旧的“将文件添加到客户端视图”,只是功能更强大! (它有点隐藏,我认为不像原来的那么精简)
你无法在仓库视图中找到它,当你需要它时你可能就在那里。相反,请转到“工作空间”视图,右键单击工作空间定义并对其进行“编辑”(或双击它,然后单击“编辑”)。
请注意刚刚打开的“工作区编辑器”窗口顶部的选项卡。选择“查看”选项卡。这里发生了很多事情,包括(显然)有关新“离线”模式的信息。
言归正传:在此窗口中,找到您需要的软件仓库并右键单击它。
Nirvana! 不少于 6 个菜单选项 (!) 允许您指定如何以及向工作区定义添加或删除内容。
甚至还有一个看起来有点可怕的“高级”模式:-&
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.
There's even an 'advanced' mode that looks a bit scary :-&
对于 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.
我认为不存在,您需要打开工作区视图并在那里进行更改。
I don't think that there is, you need to open the Workspace view and make your changes there.
编辑您的工作区并更改视图以包含相关目录。虽然我每天都使用 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....
值得注意的是,他们在某个时候将此功能添加到了 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.