hgext/__init__.py
author Laurent Charignon <lcharignon@fb.com>
Wed, 27 Jan 2016 13:57:08 -0800
changeset 1588 983f2e4dbe5d
parent 519 9825c7da5b54
child 1619 5ef77a1d975c
permissions -rw-r--r--
inhibit: fix compat with rebaseskipobsolete We wrap _computeobsoletenotrebased and _clearrebased to fix the following case: - Assuming that we have markers from revisions of the rebase set and destination set and that these markers are inhibited - At the end of the rebase the nodes are still visible because rebase operate without inhibition and skip these nodes Had we not have those markers to begin with the revisions could be hidden at the end of the rebase. We keep track in repo._obsoletenotrebased of the obsolete commits skipped by the rebase and lift the inhibition at the end of the rebase. We add three test cases to make sure that the edge cases are covered.

# Copyright 2011 Logilab SA <contact@logilab.fr>