是否可以更改 VisualHg 调用 hg.exe 的速率?
我使用 VisualHg 以及 Visual Studio 和 TortoiseHg 作为我的开发工作流程的一部分。自从安装 VisualHg 以来,我注意到更新存储库的 TortoiseHg 命令开始必须频繁等待锁定:
“等待‘cphillips-ttd:7300’持有的 c:\src\AdPlatform 工作目录的锁定”
我查看了进程资源管理器,发现对于我打开的每个 Visual Studio 实例(通常是 2-4 个),都有一组不断出现的新 hg.exe
进程。我假设这些是 VisualHg 检查存储库的状态,但检查似乎比必要的要频繁得多。
有什么方法可以减慢这些速度或使它们链接到 Visual Studio 解决方案资源管理器中的“刷新”按钮吗?
I'm using VisualHg along with Visual Studio and TortoiseHg as part of my development workflow. Since installing VisualHg, I've noticed that TortoiseHg commands that update the repository have started having to wait for locks pretty frequently:
"waiting for lock on working directory of c:\src\AdPlatform held by 'cphillips-ttd:7300'"
I looked into process explorer and found that for every instance of Visual Studio I have open (usually 2-4), there is a constant set of new hg.exe
processes coming and going. I assume that these are VisualHg checking the status of the repository, but the checks seem to be way more frequent than necessary.
Is there any way to slow these down or make them be linked to the "refresh" button in Visual Studio's solution explorer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
VisualHg 目前将“刷新状态率”硬编码为 300 毫秒。您可以在 的 StartDirectoryStatusChecker() 方法中看到它HgStatus.cs。
我已在 VisualHg 问题跟踪器中针对此问题提交了问题。
VisualHg currently has the "refresh status rate" hard coded at 300ms. You can see it in the StartDirectoryStatusChecker() method of HgStatus.cs.
I've filed an issue for this problem in the VisualHg issue tracker.