我想hg-git
用 python pip 安装扩展,但我不确定我应该使用pip
(Python2) 还是pip3
(Python3)。
hg version
给出了这个:
$ hg version
Mercurial Distributed SCM (version 4.8.2)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2018 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:
fetch internal
graphlog internal
histedit internal
strip internal
mq internal
purge internal
rebase internal
record internal
$
我第一次尝试pip3 install hg-git
,安装后没有用。然后我用pip
了它,它起作用了。只是好奇如何首先检查 Mercuial 的 Python 版本。