Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Version control Mercurial和记事本++;整合_Version Control_Mercurial_Notepad++_Tortoisehg - Fatal编程技术网

Version control Mercurial和记事本++;整合

Version control Mercurial和记事本++;整合,version-control,mercurial,notepad++,tortoisehg,Version Control,Mercurial,Notepad++,Tortoisehg,是否有Notepad++插件可与Mercurial和TortoiseHg集成?该插件仅适用于tortoise svn, 您只能使用 thg annotate "$(FULL_CURRENT_PATH)" 要显示其他任何工作台当前文件的历史记录,请在配置文件中添加以下内容,您可以使用Notepad++打开文件 [tortoisehg] editor = <path\to\>Notepad++.exe ["$FILE" -n$LINENUM] -multiInst -nosession

是否有Notepad++插件可与Mercurial和TortoiseHg集成?

该插件仅适用于tortoise svn, 您只能使用

thg annotate "$(FULL_CURRENT_PATH)"

要显示其他任何工作台当前文件的历史记录,请在配置文件中添加以下内容,您可以使用Notepad++打开文件

[tortoisehg]
editor = <path\to\>Notepad++.exe ["$FILE" -n$LINENUM] -multiInst -nosession
[乌龟]
编辑器=记事本+++.exe[“$FILE”-n$LINENUM]-多指令操作

您可以在获得更多信息。

我必须使用
editor=Notepad++.exe-n$LINENUM-multiInst-nosession
否则Notepad++将创建一个名为“$FILE”和“[”的文件。这是针对Notepad++5.9.2的。在Notepad++6.2.2中,似乎没有传递参数。我可以删除-multiInst和-nosession参数,Notepad++仍会在新实例中打开。它仍会打开文件,但会忽略行号。[tortoisehg]editor=C:\Progra~1\Notepa~1\Notepa++.exe[“$file”-n$LINENUM]-multiInst-nosession由于Notepad++.exe包含空格,我必须将其完整路径用引号括起来。例如:editor=“c:\Program Files(x86)\Notepad++\Notepad++.exe”[“$FILE”-n$LINENUM]-multiInst-nosession