##// END OF EJS Templates
hooklib: fix detection of successors for changeset_obsoleted...
hooklib: fix detection of successors for changeset_obsoleted Provide a hook for obsutil.getobsolete to be used with either a transaction or the changes item of the transaction, since hooks only have access to the latter. Use that to find the correct list of revisions with obsmarkers, even new ones, and then filter out revisions with known successors. Move the processing from pretxnclose to txnclose as the transaction access itself is no longer necessary. This is more in line with notify and ensures that sanity checks can abort the transaction first. Differential Revision: https://phab.mercurial-scm.org/D8575

File last commit:

r43346:2372284d default
r45635:04ef3810 default
Show More
__init__.py
4 lines | 106 B | text/x-python | PythonLexer
Pierre-Yves David
hgext: officially turn 'hgext' into a namespace package...
r28450 from __future__ import absolute_import
import pkgutil
Augie Fackler
formatting: blacken the codebase...
r43346
Pierre-Yves David
hgext: officially turn 'hgext' into a namespace package...
r28450 __path__ = pkgutil.extend_path(__path__, __name__)