指定水银编辑 [英] Specify Editors in Mercurial

查看:182
本文介绍了指定水银编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用TortoiseHg跟踪的一组文件,由自定义应用程序,称为Kepserver OPC服务器应用程序创建的。 Kepserver创建.OPF文件,而汞可以告诉当文件发生了变化,我想使用的应用程序Kepserver从汞工作台查看文件。我看到一个设置,允许我设置的编辑器。我指定的路径Kepserver应用程序,但是当我在台上就试图做一个二进制差异的文件,使用K​​diff3点击,我怎么能为特定的存储库指定编辑?

I'm using TortoiseHg to track a set of files, that are created by a custom application, an OPC server application called Kepserver. Kepserver creates .OPF files, while Hg can tell when the files have changed, I'd like to use the Kepserver application to view the files from Hg Workbench. I see a setting that allows me to set an editor. I specified the path to the Kepserver application, but when i click on the files in workbench it tries to do a binary diff, using Kdiff3, How can i specify editors for specific repositories?

推荐答案

当双击TortoiseHg工作台文件是运行可视化差异的默认行为。要打开在编辑器中的文件,则必须在文件上右键单击,选择编辑本地的或类似的选项之一。

The default behavior when double-clicking a file in TortoiseHg workbench is to run a visual diff. To open the file in an editor, you must right-click on the file and select "Edit Local" or one of the similar options.

所使用的编辑器时,选择此选项是由控制

The editor used when this option is selected is controlled by the

[tortoisehg]
editor = <editor>

在设置你的 .hgrc mercurial.ini

这篇关于指定水银编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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