正在搜索Mercurial存储库(TortoiseHG)? [英] Searching a Mercurial repository (TortoiseHG)?

查看:77
本文介绍了正在搜索Mercurial存储库(TortoiseHG)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以输入特定的文件名-例如"xyz.txt"-并使用TortoiseHG在Mercurial存储库中搜索该文件的所有签入内容?

Is there any way I can enter a particular filename - e.g. "xyz.txt" - and search for any checkins of that file within a Mercurial repository using TortoiseHG?

如果没有,为什么不呢?这不是版本控制的目的吗?

If not, why not? Isn't this what version control is for?

推荐答案

在汞库资源管理器"窗口中,在组合框中选择文件模式"过滤器,然后键入文件名称(例如xyz.txt)在它旁边的字段中,然后按回车键. 现在,您将仅看到修改xyz.txt的修订.如果要搜索整个目录结构(而不​​是仅搜索当前所在的文件夹),请添加"**"(例如** xyz.txt).

In the "Hg Repository Explorer" window choose the "File Patterns" filter in the combo box and type the name of the file (e.g., xyz.txt) in the field next to it and hit return. You would now see only the revisions where xyz.txt was modified. If you want to search your entire directory structure (rather than just the folder you are currently in) then add "**" (e.g. **xyz.txt).

这篇关于正在搜索Mercurial存储库(TortoiseHG)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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