Mercurial > evolve
view debian/control @ 6298:b4f9b7e468ee stable
topic: invalidate the topic cache when branchcache is invalidated
The branchmap is cleared in the superclass function, but I didn't see any sign
that this is ever cleared.
This fixes an issue in TortoiseHg where stale topic labels appear in certain
cases, such as if a commit has a topic and is stripped, and an unrelated commit
is pulled in from a remote repo. Additionally, it fixes an issue with the topic
display in TortoiseHg and cmdserver when using `hg rollback`. In the new test,
the result of the command that applies `topic2` without this fix was:
6 d (topic2)
5 c (topic2)
4 b (topic1)
0 a ()
The tie in was that rev 4 used to be `topic1` before the rollback. Also note
that without the fix, the final log command printed the following, even though
it showed no signs of `topic1`, and nothing should have changed:
active topic 'topic1' grew its first changeset
(see 'hg help topics' for more information)
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 04 Oct 2022 16:52:23 -0400 |
parents | d5759f574fd9 |
children | 4f051e30fcae |
line wrap: on
line source
Source: mercurial-evolve Section: vcs Priority: optional Maintainer: Logilab <contact@logilab.fr> Uploaders: Julien Cristau <julien.cristau@logilab.fr>, Pierre-Yves David <pierre-yves.david@logilab.fr>, Standards-Version: 4.3.0 Build-Depends: mercurial (>= 4.8), python3, debhelper (>= 10), dh-python, python3-sphinx <!nodoc>, imagemagick <!nodoc>, librsvg2-bin <!nodoc>, graphviz <!nodoc>, X-Python3-Version: >= 3.6 Homepage: https://www.mercurial-scm.org/doc/evolution/ Vcs-Browser: https://www.mercurial-scm.org/repo/evolve/ Vcs-Hg: https://www.mercurial-scm.org/repo/evolve/ Package: mercurial-evolve Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, ${sphinxdoc:Depends}, mercurial (>= 4.8), Built-Using: ${sphinxdoc:Built-Using} Description: evolve extension for Mercurial This package provides the experimental "evolve" extension for the Mercurial DVCS. . This extension provides several commands to mutate history and deal with issues it may raise.