diff mercurial/ui.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 0ff41ced4c12
children 8f5c7f906f9b
line wrap: on
line diff