Mercurial > hg
comparison mercurial/destutil.py @ 45443:037e88d453fa
commit: pass mergestate into _filecommit() instead of re-reading it
mergestate reading although cheap is not free. Let's read mergestate once on top
and pass it into `_filecommit()`.
In upcoming patches, we will be reading mergestate more in `_filecommit()`.
Differential Revision: https://phab.mercurial-scm.org/D8984
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 03 Sep 2020 14:14:04 +0530 |
parents | 8ff1ecfadcd1 |
children | c7abdbc8fd47 |
comparison
equal
deleted
inserted
replaced
45442:c6e332a451d0 | 45443:037e88d453fa |
---|