问题标签 [p4v]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
7074 浏览

label - In P4V, how do I create a branch from a label?

My company just imported our CVS repository into Perforce. I'm new to P4V and I can't work out how to create a branch from an existing label. Can anyone tell me how to do this?

0 投票
2 回答
977 浏览

version-control - 如何在 P4Win 中获得延时视图?

过去,在 Windows XP 机器上,我能够安装 P4V(Perforce 试图扼杀你的喉咙的愚蠢的独立于平台的 Perforce 可视化客户端),然后安装 P4Win(Perforce 出色的干净健壮成熟的可视化客户端)愚蠢地试图弃用)。

如果我按该顺序(并且仅按该顺序)进行安装,当我在 P4Win 的 Perforce 软件仓库中右键单击文件时,我将获得一个文件“延时视图”选项。这将启动 P4V 附带的延时视图应用程序,每个人都会很高兴。

我只是在 Vista 中完成了这些步骤,并且......没有骰子。右键单击文件时,我看不到延时视图选项。

任何人都知道我需要在 Vista 下执行哪些奇怪的安装步骤才能获得此选项?

0 投票
2 回答
639 浏览

version-control - Perforce - 仅适用于专家?

我使用 P4V 客户端。我只想做基本的任务;我不想使用命令行并成为 Perforce 的专家。我要完成的简单任务是复制提交的更改列表的描述和文件列表。有没有办法完成这个基本任务?

0 投票
3 回答
9821 浏览

perforce - 从命令行强制自动解析?

在尝试解析大量文件作为集成的一部分时,P4V 一直困扰着我。我希望能够在命令行中执行此操作。

以下是 P4V 中的步骤:

  1. 右键单击 CL。
  2. 选择“解析文件...”将出现一个对话框。
  3. 选择“如果不存在冲突,合并你和他们的”。
  4. 单击自动。

有人可以将其翻译成具有正确参数的 p4 命令行命令吗?

0 投票
5 回答
126664 浏览

perforce - 如何在 Perforce 中删除工作区(使用 p4v)?

我是 Perforce 的新手,并创建了一些工作区作为熟悉它的练习。现在我想删除一些工作区。我只想摆脱工作区,以便它们不会出现在工作区视图的下拉列表中(不想对实际的仓库文件做任何事情)。

谷歌搜索答案会产生“使工作区处于活动状态”的建议(我猜这意味着在工作区下拉列表中选择它?)然后从“编辑”菜单中删除它。不幸的是,当我尝试这个时,删除选项是灰色的。

任何人都知道如何做到这一点,还是我只需要忍受垃圾工作区?我已经从磁盘上删除了其中一个,它仍然出现在工作区下拉列表中,我现在什至无法将它与仓库同步,​​所以我想这不是怎么做的。

0 投票
3 回答
7890 浏览

perforce - 如何在 p4v 中显示更新文件列表

当我使用 p4v 客户端同步代码时,日志窗口不显示更新的文件列表。有没有办法做到这一点?p4win 客户端确实显示了列表。

谢谢你。

0 投票
7 回答
10566 浏览

perforce - Perforce 更改列表不显示任何文件

使用 P4V 2009.2。我过去使用过 P4Win,但这对我来说是一个新设置。问题是我签出的文件从更改列表中消失了,所以我无法签入。

重现:

  1. 签出一个文件,对其进行更改。
  2. 转到“待定更改列表”选项卡。
  3. 默认更改列表上会有一个 + 号。
  4. 单击加号,或在更改列表行上,加号将消失,更改列表中将没有任何内容。
  5. 尝试通过右键单击文件本身来签入文件,将显示更改列表对话框,但未列出任何文件。
  6. 您可以将文件传输到新的更改列表,同样的事情也会发生。
  7. 查看“签出人”窗口中的文件确实正确显示了更改列表编号和描述。
0 投票
6 回答
58925 浏览

perforce - 如何在 p4v 中显示特定的更改列表编号?

在 p4v 中查看提交的变更列表时,有没有办法显示特定的变更列表编号?也就是说,我如何p4 describe在 p4v 中做相当于?我可以过滤特定的变更列表编号吗?我不明白怎么做。

0 投票
2 回答
1842 浏览

diff - Extending Perforce to use a custom content diff tool for certain file extensions

I have various custom binary files stored in perforce and for many of the file types I have built a custom diff tool to show the content creators a diff of the actual changes to the file.

E.g. If the file holds simple key value pairs as a compressed binary blob the diff tool would load each version into an in memory format and generate a list of additions, deletions and edits to the file presented in a nice clean report view.

Much like the built in image diff tool in P4V i'd like to be able to use my own diff tool for certain file extensions within my depot and allow the users to use the existing P4V interface to pick revisions to diff between and examine history.

So, I am aware you can write add-ins to P4V but I can't find any documentation on it and I'd like to know if this kind of extension functionality is available in P4V and how to use it?

0 投票
2 回答
2591 浏览

perforce - Perforce P4v:如何使用要查找的文件列表查找文件?

有没有一种方法或命令可用于使用要在目录中查找的文件列表来查找文件?例如

找到以下文件:
text1.sql
text2.sql
text3.sql
text4.sql
text5.sql
text6.sql

搜索:c:\archive...