Mercurial > hg-stable
comparison mercurial/mpatch.c @ 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 | 1f4249c764f1 |
children | 90a274965de7 |
comparison
equal
deleted
inserted
replaced
36006:61326dd7cb8d | 36007:91b3b11565e5 |
---|