我有mercurial 3.6.1,由于错误而无法在我的项目中运行的版本
Cannot commit in mercurial repo
https://bz.mercurial-scm.org/show_bug.cgi?id=5311
hg --version
Mercurial Distributed SCM (version 3.6.1)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2015 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.
Enabled extensions:
现在我想更新到例如3.8.2,但是要做
sudo add-apt-repository ppa:mercurial-ppa/releases
apt-get update
apt-get install mercurial
不更新,
sudo easy_install -U mercurial
Searching for mercurial
Reading https://pypi.python.org/simple/mercurial/
Best match: mercurial 3.9-rc
Processing mercurial-3.9_rc-py2.7-linux-x86_64.egg
mercurial 3.9-rc is already the active version in easy-install.pth
Installing hg script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/mercurial-3.9_rc-py2.7-linux-x86_64.egg
Processing dependencies for mercurial
Finished processing dependencies for mercurial
是相同的,仍然是相同的版本
apt-cache policy mercurial
mercurial:
Installed: 3.8.4~trusty1
Candidate: 3.8.4~trusty1
Version table:
*** 3.8.4~trusty1 0
500 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
2.8.2-1ubuntu1.3 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
2.8.2-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages