如何在Perforce软件仓库(P4V)中搜索文件内容?

Obi*_*Wan 5 search perforce p4v depot

我目前正在使用Perforce版本2010.2.看来这个版本没有集成的搜索功能,可以浏览每个文件的内容.我目前的P4V版本只允许我搜索文件名但不搜索内容.

对此的任何意见将非常感激.

先感谢您.

Bry*_*ton 5

尝试使用'p4 grep'命令,在2010.1版本中添加,我相信.

  • 示例:`p4 grep -n -e"my_regex_pattern"// my_depot /.../*.ext` (2认同)
  • 只是为了方便:https://www.perforce.com/manuals/v18.1/cmdref/Content/CmdRef/p4_grep.html (2认同)