3

我按照以下步骤使用以下文档在 Ubuntu 9.10 上安装 TortoiseHG:

http://bitbucket.org/tortoisehg/stable/wiki/nautilus

我的 ~/.xsession-errors 中出现以下错误

evolution-alarm-notify-Message:  Tue Dec  1 23:28:26 2009

sys:1: GtkWarning: Refusing to add non-unique action 'HgNautilus::00None' to action group 'DirExtensionsMenuGroup'
sys:1: GtkWarning: gtk_action_get_name: assertion `GTK_IS_ACTION (action)' failed
sys:1: GtkWarning: gtk_ui_manager_add_ui: assertion `name != NULL || type == GTK_UI_MANAGER_SEPARATOR' failed
sys:1: GtkWarning: Refusing to add non-unique action 'HgNautilus::01clone' to action group 'DirExtensionsMenuGroup'
sys:1: GtkWarning: Refusing to add non-unique action 'HgNautilus::02init' to action group 'DirExtensionsMenuGroup'
sys:1: GtkWarning: Refusing to add non-unique action 'HgNautilus::03userconfig' to action group 'DirExtensionsMenuGroup'
sys:1: GtkWarning: Refusing to add non-unique action 'HgNautilus::05about' to action group 'DirExtensionsMenuGroup'
Traceback (most recent call last):
  File "/usr/bin/hgtk", line 44, in <module>
    sys.exit(hggtk.hgtk.dispatch(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.6/hggtk/hgtk.py", line 29, in dispatch
    u = _ui.ui(traceback='--traceback' in args)
TypeError: __init__() got an unexpected keyword argument 'traceback'

有谁知道如何使这项工作?同时我将使用命令行。谢谢。

4

1 回答 1

2

看来您使用的是 Mercurial 1.2.1,它没有在修订版 6b5522cb2ad2中完成重构。这意味着您不能将最新版本的 TortoiseHg 与如此旧版本的 Mercurial 一起使用。

我建议将 Mercurial 更新到较新版本或使用较旧版本的 TortoiseHg。

于 2009-12-02T16:38:23.303 回答