diff mercurial/rcutil.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 75979c8d4572
children edbcf5b239f9
line wrap: on
line diff