Mercurial > hg-stable
diff mercurial/fancyopts.py @ 36007:91b3b11565e5
revlog: move index file opening in a method
Having file operation centralized into a single spot help to factor common
logic out (eg: special flag handling according to the mode).
It is also the first step to simplify file handling during batch operation
(eg: revlog cloning). However, that part does not seems to be a hotspot yet.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 05 Feb 2018 17:22:13 +0100 |
parents | 98a5aa5575e7 |
children | cc9d0763c8e9 |