mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
12805254e6
Summary: Writing the revmap back to disk can be a bit expensive if the revmap is not small. This diff optimizes `revmap.flush` so it does not write anything if nothing changed. Test Plan: Profiling data shows no more substantial `write` syscalls. Reviewers: #sourcecontrol, zamsden Reviewed By: zamsden Subscribers: zamsden, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3837023 Signature: t1:3837023:1473954024:6af83074096517ab1d3d05cb90d091af6e0c5d02 |
||
---|---|---|
.. | ||
error.py | ||
revmap.py |