comparison hgext/shelve.py @ 27790:2d294dada4f8

rebase: small refactoring to allow better extensibility from extensions Inhibit, one of evolve's extension, would like to change the way rebase works with obsolete changesets. During a rebase with inhibit, the inhibition of the obsolescence markers should be lifted for the rebase. With this small refactoring, inhibit and can wrap the _filterobsoleterevs function to lift inhibition cleanly and at the same time this change makes rebases' code more legible.
author Laurent Charignon <lcharignon@fb.com>
date Thu, 14 Jan 2016 11:50:28 -0800
parents 3ea35a0769fe
children 476f53058ee8
comparison
equal deleted inserted replaced
27789:63116d47cc3f 27790:2d294dada4f8