##// END OF EJS Templates
filectx: add an overlayfilectx class...
filectx: add an overlayfilectx class The end goal is to make it possible to avoid potential expensive fctx.data() when unnecessary. While memctx is useful for creating new file contexts, there are many cases where we could reuse an existing raw file revision (amend, histedit, rebase, process a revision constructed by a remote peer, etc). The overlayfilectx class is made to support such reuse cases. Together with a later patch, hash calculation and expensive flag processor could be avoided.

File last commit:

r28450:155e3308 default
r32239:07da778f default
Show More
__init__.py
3 lines | 105 B | text/x-python | PythonLexer
Pierre-Yves David
hgext: officially turn 'hgext' into a namespace package...
r28450 from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)