Mercurial > evolve
view README-topic @ 2899:32306ee32806
topics: add a new debugconvertbookmark command to convert bookmarks to topics
This new command, aliased to debugcb converts bookmarks to topics. This command
either accept name of a bookmark using flag '-b' or '--all'.
If a bookmark is passed using '-b', the whole stack defined by that bookmark is
converted to topics. If '--all' is passed, the above thing is repeated for every
bookmark in the repository.
If the revset which we are using unable to decides revisions of the stack and
return an expty set, in that cases we are not deleting the bookmark as we are
not writing any topics of the same name as that of bookmark. Also currently if a
changeset has two bookmarks, than there is buggy behaviour. So these are known
lackings in the current implementation which will be fixed in upcoming patches.
This also adds tests for the same.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 01 Sep 2017 18:02:50 +0200 |
parents | 47017b3086d4 |
children |
line wrap: on
line source
Topic Extension ================ This packages also provides the ``topic`` experiment in an independent extension. It implements a new experimental concept to provide lightweight feature branches for the mutable parts of the history. The experiments is still at an early stage and have significant usability and performance issues when enabled. How to Install ============== The ``topic`` extension is included into the ``evolve` package, so the same instruction apply. Using Pip --------- You can install the latest version using pip:: $ pip install --user hg-evolve Then just enable it in you hgrc:: $ hg config --edit # adds the two line below: [extensions] topic = From Source ----------- To install a local version from source:: $ hg clone https://www.mercurial-scm.org/repo/evolve/ $ cd evolve $ make install-home Enable ------ The topic extensions is included in the evolve package. See the install instruction for evolve. Then enable it in you configuration:: $ hg config --edit # adds the two line below: [extensions] topic = Documentation ------------- * See 'hg help -e topic' for a generic help. * See 'hg help topics' and 'hg help stack' for help on specific commands. * See the 'tests/test-topic-tutorial.t' file for a quick tutorial.