gpt4 book ai didi

mercurial - 如何启用 Mercurial 主题(它是 "live"功能吗)?

转载 作者:行者123 更新时间:2023-12-05 02:45:14 25 4
gpt4 key购买 nike

按照 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)

最佳答案

教程不正确(已过时?)

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

[extensions]
evolve =
topic =

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

关于mercurial - 如何启用 Mercurial 主题(它是 "live"功能吗)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66046714/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com