Mercurial > hg
comparison hgext/eol.py @ 33725:86ea201eaeb9
repair: move manifest strip to a separate function
This moves manifest stripping to a separate function so implementations of the
manifest that don't support stripping can replace this function with a no-op.
I considered adding a strip api to the manifestlog, so other implementations
could make it a no-op there, but it seems like strip might be unique to the
revlog implementation, and therefore shouldn't be present on the generic api.
Differential Revision: https://phab.mercurial-scm.org/D292
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 08 Aug 2017 17:25:38 -0700 |
parents | 4e7352b8325c |
children | 0f685a229a81 |
comparison
equal
deleted
inserted
replaced
33724:6626d12e7a85 | 33725:86ea201eaeb9 |
---|