Mercurial 更新 OpenSUSE Linux

我想更新版本 Mercurial 在盒子上 OpenSUSE.

这就是我所拥有的

test99: ~ / test_pission. / hgplayarea # hg --version

Mercurial Distributed SCM (version 1.5)

Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

test99: ~ / test_zone. / hgplayarea #

-

test99: ~ # cat / etc / SuSE-release

openSUSE 11.3 (i586)
VERSION = 11.3

test99: ~ #

-

我试图更新 Mercurial 在此计算机上使用 easy_install

test99:~/TEST_AREA/hgplayarea # easy_install -U mercurial

收到上述命令的结论:

Searching for mercurial
Reading [url=http://pypi.python.org/simple/mercurial/]http://pypi.python.org/simple/mercurial/[/url]
Reading [url=http://mercurial.selenic.com/]http://mercurial.selenic.com/[/url]
Reading [url=http://www.selenic.com/mercurial]http://www.selenic.com/mercurial[/url]
Reading [url=http://mercurial.selenic.com/release/]http://mercurial.selenic.com/release/[/url]
Best match: mercurial 2.3.1
Downloading [url=http://mercurial.selenic.com/release/mercurial-2.3.1.tar.gz]http://mercurial.selenic.com/r ... ar.gz[/url]
Processing mercurial-2.3.1.tar.gz
Running mercurial-2.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-jNQkmu/mercurial-2.3.1/egg-dist-tmp-riveHL
zip_safe flag not set; analyzing archive contents...
mercurial.lsprof: module references __file__
mercurial.commands: module references __file__
mercurial.extensions: module references __file__
mercurial.help: module references __file__
mercurial.util: module references __file__
mercurial.templater: module references __file__
mercurial.i18n: module references __file__
hgext.mq: module references __file__
Adding mercurial 2.3.1 to easy-install.pth file
Installing hg script to /usr/local/bin

Installed /usr/local/lib/python2.6/site-packages/mercurial-2.3.1-py2.6-linux-i686.egg
Processing dependencies for mercurial
Finished processing dependencies for mercurial

现在在此更新之后,我运行: hg --version - 或任何其他团队 hg. 我收到一条错误消息:

hg --version

 Traceback (most recent call last):
File "/usr/bin/hg", line 25, in <module>
mercurial.util.set_binary(fp)
File "/usr/local/lib/python2.6/site-packages/mercurial-2.3.1-py2.6-linux-i686.egg/mercurial/demandimport.py", line 87, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'set_binary'

分支 hg
http://test99.tsh.company.com/hg/TestHgRepo1/
StarRepo

Traceback (most recent call last):
File "/usr/bin/hg", line 25, in <module>
mercurial.util.set_binary(fp)
File "/usr/local/lib/python2.6/site-packages/mercurial-2.3.1-py2.6-linux-i686.egg/mercurial/demandimport.py", line 87, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'set_binary'
(reverse-i-search)`su': hg ^Cmmary

任何帮助是我可以做到删除它 - 或建立正确的版本。

我这样做是看我是否能够进行扩展工作 Mercurial_Keyring 和 acl ...

我用了 "easy_install", 正如我想要设置最新版本 Mercurial. 在 OpenSUSE, 当我使用时 "yast -i mercurial", 他正试图禁用该版本 Mercurial 1.2.x.x, 而不是最后者的 easy_install. 最初我安装了 Mercurial "yast" 道路。

我尝试了以下,改变 - 不工作:

https://developers.kilnhg.com/ ... 511ce
hg --version

  File "/usr/bin/hg", line 25
_setbinary(fp)
^

</module></module></mpm@selenic.com>
已邀请:

二哥

赞同来自:

使它解决这个问题。

yast - 删除汞

yast - 删除Python.

yast -i python-nautilus python-gtk python-gtk-devel python-pysvn dbus-1-python dbus-1-python-devel 结合颠覆版本

iast-i水星

现在我这样做:

hg --version

Mercurial Distributed SCM (version 2.3.1)
(see [url=http://mercurial.selenic.com]http://mercurial.selenic.com[/url] for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

python --version

Python 2.6.5

奇怪的 ??: 1. yast -i mercurial (安装时说是什么 mercurial 1.2.xx 或者 1.3.xx), 但 hg --version 显示版本 diff. "easy_install mercurial" 安装了 2.3.x, 但是我删除了它 yast. Yast 安装了 1.x.x 最后,使用上面显示的工作版本 "hg --version", - 2.3.1.

即使我开始后 yast --remove <...> (mercurial / python) .... 我仍然可以看 http: // test99: 443 / hg

链接,她展示了我所有的存储库,仍然显示 ... 我在执行之前创建的那个 yast --remove.

要回复问题请先登录注册