I'm rather new to perforce, but have quite a bit of other VCS experience... Imagine this: You submit changes (changelist 1) A colleague submits changes on the same branch, accidentally overwriting your changes. (changelist 2) I tried integrating (which P4V refuses to do since it's already integrated) and looked around for a way to just generate a patch that I could apply, but couldn't find anything. For now, I will check out the versions in question and use an external merge tool, but it would be great to know if perforce supports this somehow. Is there a way using the perforce tools
I am currently using Perforce version 2010.2. It appears that this version does not have an integrated search functionality that will go through the content of every single file. My current P4V version only allows me to search for filenames but not for content. Any input on this would be much appreciated. Thank you in advance.
If I checkout 4000 files in p4v it does not show me the complete list of files in the default changelist. It just says 4000 files checked out. Is there any way that I can view the complete list of 4000 files?
问题 我是 Perforce 的新手，并创建了一些工作区作为熟悉它的练习。 现在我想删除一些工作区。 我只是想摆脱这样它们就不会出现在下拉在工作区工作区的视图（不想做实际的仓库文件的任何东西）。 谷歌搜索答案会产生“使工作区处于活动状态”的建议（我猜这意味着在工作区下拉列表中选择它？）然后从“编辑”菜单中删除它。 不幸的是，当我尝试这个时，删除选项是灰色的。 任何人都知道如何做到这一点，还是我只需要忍受垃圾工作区？ 我已经从磁盘中物理删除了其中一个，它仍然出现在工作区下拉列表中，我现在甚至无法将它与仓库同步，所以我想这不是怎么做的。 回答1 从“查看”菜单中，选择“工作区”。 您将看到您创建的所有工作区。 选择要删除的工作区并单击“编辑”->“删除工作区”，或右键单击并选择“删除工作区”。 如果工作区被“锁定”以防止更改，您将收到一条错误消息。 要解锁工作区，请单击“编辑”（或右键单击并单击“编辑工作区”）以拉出工作区编辑器，取消选中“锁定”复选框，然后保存更改。 您可以在解锁后删除工作区。 根据我的经验，工作区将继续显示在下拉列表中，直到您单击它为止，此时 p4v 会发现您已将其删除并将其从列表中删除。 回答2 也可以使用以下小脚本在没有可视化客户端的情况下完成。 $ cat ~/bin/pdel #!/bin/sh #Todo: add error handling (
I have created a symbolic link directory in Unix and I would like to add it to perforce. (this question relates to symlinks on Unix. Windows symbolic links can have very different behaviour from Unix.) ../blah/dir1 is the source directory, which contains files that are already in Perforce dir2 is the symlink to the source directory that I want to check in ln -s ../blah/dir1 dir2 If I right-click on "dir2" in the p4v GUI, it will add every file under ../blah/dir1 as a new file (even if these files are already in Perforce) and fubar everything. If I do a "p4 add dir2" from the command line, it
I'm new to Perforce and have created a few workspaces as exercises for getting familiar with it. Now I would like to delete some of the workspaces. I just want to get rid of the workspaces so that they do not appear on the drop-down in the workspaces view (do not want to do anything with actual depot files). Googling up an answer yields the suggestion to "make the workspace active" (I guess that means select it in the workspace dropdown?) and then delete it from the "edit" menu. Unfortunately, the delete option is grayed-out when I try this. Anyone know how to do this, or do I just have to
What is the difference between “Rollback…” and “Back Out Submitted Changelist #####” in Perforce P4V
I want to reverse the changes from one of my checkins. In the right-click context menu of the particular changelist, there are these two options: Rollback... Back Out Submitted Changelist What is the difference between these two? In what situations should I use either one?