我在 12.04 LTS 中使用过 Rabbit,然后升级到 13.04,但 Rabbit 菜单不见了。所以我去了安装页面并遵循以下指示:
sudo add-apt-repository ppa:rabbitvcs/ppa
sudo apt-get update
sudo apt-get install rabbitvcs-nautilus3
- 重启电脑,没有上下文菜单。所以我继续:
sudo apt-get install rabbitvcs-gedit
sudo apt-get install rabbitvcs-cli
- 登出
- 登录
- 打开鹦鹉螺,
- 右键单击随机文件夹
但上下文菜单中仍然没有“Rabbit VCS”。我肯定做错了什么。但不知道是什么...
编辑 Nautilus 版本是 3.6.3,它基本上是 Ubuntu 13.04 附带的默认版本 - 在 Ubuntu 中它被称为“文件”
内容.config/rabbitvcs/RabbitVCS.log
:
2013-06-18 10:02:45,462 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/sv2013-06-18 10:02:45,462 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
n/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,047 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/XmlChanger' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
2013-06-19 09:56:19,437 ERROR rabbitvcs.vcs.svn The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rabbitvcs/vcs/svn/__init__.py", line 254, in statuses
update=update)
ClientError: The path '/home/janipav/workspace/MassFileSender' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
内容/usr/share/rabbitvcs/configspec.ini
[general]
language = string(default="English")
enable_attributes = boolean(default=True)
enable_emblems = boolean(default=True)
enable_recursive = boolean(default=True)
show_debug = boolean(default=False)
show_unversioned_files = boolean(default=True)
[external]
diff_tool = string(default="/usr/bin/meld")
diff_tool_swap = boolean(default=False)
[cache]
number_repositories = integer(default=30)
number_messages = integer(default=30)
[logging]
type = option("None", "File", "Console", "Both", default="Both")
level = option("Debug", "Warning", "Info", "Error", "Critical", default="Error")
答案1
您可以修复缺失的上下文菜单。我建议删除已安装的 PPA 版本和 ppa(如何删除通过命令行添加的 PPA?), 从 Ubuntu 重新安装该版本并按照我从报告的错误中得出的说明进行操作:https://bugs.launchpad.net/ubuntu/+source/rabbitvcs/+bug/1093533。
您需要下载以下文件http://rabbitvcs.googlecode.com/svn/trunk/clients/nautilus-3.0/RabbitVCS.py
将其复制(使用 root/su/sudo)至:
/usr/share/nautilus-python/extensions/RabbitVCS.py
您可能还需要创建以下符号链接:
sudo ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib/libpython2.7.so.1.0
您需要重新启动会话(注销并重新登录)才能查看更改。
答案2
因此,您似乎拥有.svn
属于旧版本 rabbitvcs(可能是 1.6)的文件。这些文件需要升级到 1.7,即您安装的版本。为此,请在终端上执行以下操作:
svn upgrade
您需要重新启动才能完成此操作。要重新启动:sudo reboot