2

按照https://www.mercurial-scm.org/doc/evolution/tutorials/topic-tutorial.html上的教程,我将以下内容添加到我的 mercurial.ini 文件中:

[extensions]
  ...
evolve =

[experimental]
evolution = all

是的,当我转到命令行并尝试时:

# hg topic
hg: unknown command 'topic'
(did you mean pick?)

# hg topics
hg: unknown command 'topics'
(use 'hg help' for a list of commands)

这就是我所得到的。

hg evolve但是确实有效。)

我已经搜索但找不到任何其他关于如何启用它的文档,或者它可能还没有在常规版本中。但是从这里和其他地方的其他帖子来看,似乎人们正在使用它。虽然它没有在https://www.mercurial-scm.org/wiki/UsingExtensions中列出。

我需要做什么才能启用它?


我的 hg 版本是最新的:

# hg --version
Mercurial Distributed SCM (version 5.6.1)
4

2 回答 2

2

教程不正确(过时了?)

您必须将以下内容添加到 Mercurial 配置文件中:

[extensions]
evolve =
topic =

我最终在https://heptapod.net/pages/quick-start-guide.html发现了这一点。

于 2021-02-04T13:33:09.610 回答
0

我需要提供使其在我的系统上运行的路径:

[extensions]
evolve = C:\Program Files\Python39\Lib\site-packages\hgext3rd\evolve
topic = C:\Program Files\Python39\Lib\site-packages\hgext3rd\topic
于 2021-11-21T11:54:49.873 回答