2011-09-07 57 views
2

我正在使用eclipse運行Debian Etch系統。 我安裝了用於eclipse indigo的mercurial插件(http://www.javaforge.com/project/HGE)(我想是最新版本)。我通過sudo apt-get命令安裝了mercurial。 汞狀態導致Debian Etch - Eclipse中的Mercurial

Mercurial Distributed SCM (version 0.9.1) 

Copyright (C) 2005 Matt Mackall <[email protected]> 
This is free software; see the source for copying conditions. There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

在Eclipse中,我得到了以下錯誤消息

hg: unknown command 'debuginstall' 
Mercurial Distributed SCM 

basic commands (use "hg help" for the full list or option "-v" for details): 

add  add the specified files on the next commit 
annotate show changeset information per file line 
clone  make a copy of an existing repository 
commit  commit the specified files or all outstanding changes 
diff  diff repository (or selected files) 
export  dump the header and diffs for one or more changesets 
init  create a new repository in the given directory 
log  show revision history of entire repository or files 
parents show the parents of the working dir or revision 
pull  pull changes from the specified source 
push  push changes to the specified destination 
qdiff  diff of the current patch 
qimport import a patch 
qinit  init a new queue repository 
qpop  pop the current patch off the stack 
qpush  push the next patch onto the stack 
qrefresh update the current patch 
remove  remove the specified files on the next commit 
revert  revert files or dirs to their states as of some revision 
serve  export the repository via HTTP 
status  show changed files in the working directory 
strip  strip a revision and all later revs on the same branch 
update  update or merge working directory. Command line: hg -y debuginstall 

回答

3

的Mercurial 0.9.5版本太舊了HGE。你可以嘗試手動安裝一個更新的版本,但是也許在etch中的python版本也太舊了。其實Etch is old,這是主要問題。如果你不想升級,最好的機會是通過命令行使用Mercurial。

+0

好的,謝謝。我希望這不是唯一的解決辦法。讓最新的Eclipse,JVM等運行起來非常有趣.. – froehli

+0

奇怪的一點是,在版本0.9.2中添加了「debuginstall」,所以你應該在你的版本中使用它。您必須在[用戶安裝](http://mercurial.selenic.com/wiki/UnixInstall#Per-user_installation)中嘗試版本1.3.X或1.4.X,以免污染您的祖先和古老的發行版:- – shellholic

+1

實際上,您需要[最低版本1.5](http://code.google.com/a/eclipselabs.org/p/mercurialeclipse/wiki/SupportedMercurialVersion) – shellholic