【发布时间】:2010-11-09 08:05:58
【问题描述】:
任何人都可以发布将 mercurial 集成到 phped 的步骤。
我遵循了以下步骤,由他们论坛上的一位成员列出:
做什么:创建提交快捷方式 * 如果您还没有安装 Mercurial。我已将我的安装到 c:\development\Mercurial\ * 转到 PHPEd 设置 > 工具 > 集成 * 创建一个名为“Hg”的新菜单(或 Mercurial 或任何您想称呼它的名称) * 创建一个名为“Hg Commit”的新子菜单 * 使用以下设置编辑“Hg Commit”:
o Execute with "Shell"
o Command line: D:\Program Files\TortoiseHg\hg.exe commit @Name@ --cwd @Path@
o Check off "Show this command in File Bar popup" (optional)
o Shortcut: CTL-SHIFT-M (or anything you like)
o Check off Redirect Error stream to Log Window and Redirect Output to Window
但是当我提交时,我得到以下错误:
Script D:\Program Files\TortoiseHg\hg.exe commit createXML.php --cwd D:\xampp\htdocs\XML\
脚本无法运行命令“D:\Program”,错误代码:2,系统 描述:“系统无法 找到指定的文件。
【问题讨论】:
标签: php mercurial settings integration phped