Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable Mercurial topics (is it a "live" feature yet)?

Following the tutorial at https://www.mercurial-scm.org/doc/evolution/tutorials/topic-tutorial.html I added the following to my mercurial.ini file:

[extensions]
  ...
evolve =

[experimental]
evolution = all

Yet when I go to the command line and try it out:

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

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

That's all I get.

(hg evolve does work, however.)

I've searched but can't find any other documentation on either how to enable it, or if maybe it just isn't in the regular releases yet. But from other posts here & elsewhere, it does seem that people are using it. Although it is not listed in https://www.mercurial-scm.org/wiki/UsingExtensions.

What do I need to do to enable it?


My version of hg is the latest:

# hg --version
Mercurial Distributed SCM (version 5.6.1)
like image 607
StayOnTarget Avatar asked Sep 05 '25 03:09

StayOnTarget


1 Answers

The tutorial is incorrect (out of date?)

You have to add the following to the Mercurial configuration file:

[extensions]
evolve =
topic =

I eventually spotted this at https://heptapod.net/pages/quick-start-guide.html.

like image 118
StayOnTarget Avatar answered Sep 07 '25 23:09

StayOnTarget