我正在尝试从 Netbeans 提交到 mercurial 存储库。已完成所有 SSH 设置,但出现以下错误:
Mercurial Commit
----------------
Disable description field.
ERROR Command failed:
Command: [hg, commit, --repository, /media/javier/Development/NetBeans/jWrestling, --cwd, /media/javier/Development/NetBeans/jWrestling, --user, Javier Ortiz Bultron <[email protected]>, --logfile, /tmp/hgcommit2826840947170512752.hgm, jWrestling-Client/Client/UI/src/main/java/net/sourceforge/javydreamercsw/ui/wizard/wrestler/FeatPanelUI.form, jWrestling-Client/Client/UI/src/main/java/net/sourceforge/javydreamercsw/ui/wizard/wrestler/FeatPanelUI.java]
Output: [abort: Function not implemented: '/media/javier/Development/NetBeans/jWrestling/.hg/store/journal']
INFO: End of Commit
甚至不知道还能说什么,我有点迷茫了。如果我从终端尝试,我会得到相同类型的错误。
有任何想法吗?
答案1
安装后即可运行,如下所示:
sudo add-apt-repository -y ppa:tortoisehg-ppa/releases
sudo apt-get update
sudo apt-get install mercurial tortoisehg
从这个答案中:https://stackoverflow.com/questions/5627414/correct-way-to-install-mercurial-on-ubuntu
答案2
在向 TortoiseHg 错误跟踪器报告问题后,终于找到了根本原因。基本上,我将这个存储库放在格式化为 exFAT 的 USB 驱动器中,这似乎不允许 Tortoise 执行某些操作。详情请参见此处:https://bitbucket.org/tortoisehg/thg/issue/4179/function-not-implemented
基本上,使用桌面存储库可以完美运行。