2009-07-09 71 views
0

任何人都可以发布将mercurial整合到phped的步骤。如何将Mercurial与PHPed IDE集成?

我也跟着下面的步骤,由一个成员在他们的论坛中列出:

怎么办:创建快捷方式提交* 安装水银,如果你还没有准备好。我已经安装到c:\ development \ Mercurial \ *转到PHPEd设置>工具>集成 *创建一个名为“Hg”(或Mercurial或任何你想要调用它的)的新菜单 *创建一个新的Sub菜单称为“汞提交” *编辑“汞提交”具有以下设置:

 o Execute with "Shell" 
     o Command line: D:\Program Files\TortoiseHg\hg.exe commit @[email protected] --cwd @[email protected] 
     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\

  • Script Failed to run command "D:\Program", error code: 2, system description: "The system cannot find the file specified.

回答

2

你需要把周围的引号hg.exe的路径。 Program Files中的空间将它扔掉,它只是在D:\ Program中寻找某种东西,这可能根本不存在。

请注意,我从来没有使用PHPed,所以可能会有更多的问题。但那是你所看到的产生错误的那个人。

+0

谢谢你那么简单。它的工作:) – 2009-07-09 10:53:45