如何监控“签入/推送”到中央 Mercurial 存储库?
如果我建立了一个中央 Mercurial 存储库,允许某些人推送到它,那么我可以通过什么方便的方式来监控该存储库中的更改?
我习惯于使用 SVN-Monitor 进行 Subversion。它在任务栏中运行,每当新内容签入存储库时都会让我知道。
Mercurial 有类似的解决方案吗?
If I set up a central Mercurial Repository where certain people are allowed to push to it, what convenient way can I monitor the changes going into that repository?
I'm used to using SVN-Monitor for Subversion. It runs in the task-bar and lets me know whenever something new has been checked in to the repository.
Is there a similar solution for Mercurial ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这个工具看起来可能就是你想要的后。
This tool looks like it might be what you're after.
使用 RSS 提要监视器并将其指向存储库的 Atom/RSS 提要(可在 Web 界面中找到)。
像这样的事情应该做得很好: https://superuser.com/questions/9929/rss-notification -in-system-tray
或者,您可以在要监视的存储库上设置一个
changegroup
挂钩,并让它在您的系统上触发某些内容,但轮询可能对此没问题。Use a RSS feed monitor and point it to the repo's atom/RSS feed (found in the web interface).
Something like this should do nicely: https://superuser.com/questions/9929/rss-notification-in-system-tray
Alternately you could set up a
changegroup
hook on the repo to be watched and have it trigger something on your system, but polling is probably okay for this.如果您当前正在使用 TeamCity 或正在寻找持续集成解决方案:
TeamCity 有各种应用程序/plugins,例如 VisualStudio 插件和用于生成通知的 Windows TrayIcon。您在 TeamCity 中设置一个项目,以便在有人提交到存储库时进行构建。当有人提交时,它会触发构建,该构建会向您发送通知。一个好处是它会告诉您构建是否成功或失败==> {好代码或坏代码}
If you are currently using TeamCity or looking for a Continuous Integration solution:
TeamCity has various apps/plugins like a VisualStudio plugin and Windows TrayIcon for build notifications. You set up a project in TeamCity to build when someone commits to the repository. When someone commits it triggers a build, which will send a notification to you. A bonus is that it tells you if the build succeeded or failed ==> {good code or bad code}
一直在尝试 HgAssist ,效果非常好。
Been giving HgAssist a try it works pretty well.