有没有办法显示 Mercurial Web 服务器的视觉差异?
启动
hg serve
Mercurial Server 可以通过和 go
localhost:8000
,但 diff 是文本类型的 diff。我想知道是否有任何方法可以直接从服务器获取视觉差异(可能通过单击文件或变更集),视觉差异的类型类似于 kdiff3 或 Tortoise SVN 差异。如果能做到的话,那应该是很酷的事情。
A Mercurial Server can be started up just by
hg serve
and going to
localhost:8000
but the diff is a text type of diff. I wonder if there is any way to get a visual diff right from the server (probably by clicking on a file or a changeset), the type of visual diff that is like on kdiff3 or Tortoise SVN diff. If it can be done, that should be quite cool.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,这是不可能的。
“hgserve”是一个简单的服务器,尚未提供像您在 TortoiseHG 和客户端 diff 工具等任何客户端工具中看到的 diff 渲染功能。
然而,如果您正在寻找服务器端解决方案,您可以查看TracMercurial。虽然这是一个重量级解决方案,但它可以实现您想要的。
另请查看更改集导航这就是您想要的。
No this is not possible.
"hg serve" is a bare bone server and does not yet provide the diff rendering capabilities like you see in any client tools like TortoiseHG and client diff tools.
How ever, if you are looking for a server side solution, you could look at TracMercurial. While this is a heavy weight solution, it can achieve what you want.
Also check out the changeset navigation which is what you want.