你如何在 Perforce 中搜索更改列表描述的文本? [英] How do you search the text of changelist descriptions in Perforce?

查看:62
本文介绍了你如何在 Perforce 中搜索更改列表描述的文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,我发现自己想在 Perforce 中搜索更改列表描述的文本.在 P4V 中似乎没有办法做到这一点.我可以通过将更改命令的输出重定向到文件来实现...

On occasion, I find myself wanting to search the text of changelist descriptions in Perforce. There doesn't appear to be a way to do this in P4V. I can do it by redirecting the output of the changes command to a file...

p4 changes -l > p4changes.txt

...(-l 开关告诉它转储更改列表描述的全文)然后搜索文件,但这相当麻烦.有没有人找到更好的方法?

...(the -l switch tells it to dump the full text of the changelist descriptions) and then searching the file, but this is rather cumbersome. Has anyone found a better way?

推荐答案

当提交的更改列表窗格具有焦点时,CTRL+F 可让您执行任意文本搜索,其中包括更改列表描述.

When the submitted changelist pane has focus, a CTRL+F lets you do an arbitrary text search, which includes changelist descriptions.

唯一的限制是它只搜索从服务器获取的那些更改列表,因此您可能需要增加检索到的数字.这是通过一次获取的更改列表、作业、分支映射或标签的数量"设置完成的,该设置可以通过导航到编辑"->首选项"->服务器数据"找到.

The only limitation is that it searches just those changelists that have been fetched from the server, so you may need to up the number retrieved. This is done via the "Number of changelists, jobs, branch mappings or labels to fetch at a time" setting which can be found by navigating to Edit->Preferences->Server Data.

这篇关于你如何在 Perforce 中搜索更改列表描述的文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆