Mercurial > evolve
view hgext3rd/topic/README @ 6935:954d7ea5cd67 stable tip
stack: when stack base is obsolete, pick any successor, even if at random
There are situations when s0 is obsolete and we also cannot pick just one
successor for it to use in stack. In such a case, let's pick the "latest"
successor from the first set.
We're assuming that obsutil.successorssets() returns data in the same order (it
should, since it makes sure to sort data internally). Keeping that in mind,
while the successor picked for s0 by this code is not based on any sort of
sophisticated logic, it should nonetheless be the same every time.
This patch is probably not going to completely break anything that was
previously working fine, because the previous behavior was to just abort with
an exception.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 16 Nov 2024 17:01:02 +0400 |
parents | 13751fef5e66 |
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.