【问题标题】:How to integrate Mercurial with PHPed IDE?如何将 Mercurial 与 PHPed IDE 集成?
【发布时间】: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


    【解决方案1】:

    您需要在 hg.exe 的路径两边加上引号。 Program Files 中的空间把它扔掉了,它只是在 D:\Program 中寻找一些东西,这可能甚至不存在。

    请注意,我从未使用过 PHPed,因此可能会有更多问题。但这就是产生您所看到的错误的原因。

    【讨论】:

    • 目前,上面的设置打开记事本写下提交信息。有没有办法打开 Notepad++ 或 TortoiseHg 自己的 Commit Window ?
    • 我不知道这个问题的答案,抱歉。
    • @Ibn 在 cmets 中没有问题,拜托。再问一个问题;我们不咬人。
    • 它是相关的,所以我想我可以问一下。对此感到抱歉。
    猜你喜欢
    • 2010-11-10
    • 1970-01-01
    • 2013-09-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多