diff rust/hg-core/src/revlog/patch.rs @ 52766:549b58b1ce72

rust-inner-revlog: use threadlocals for file handles In contexts where we access the same revlog from multiple threads (like in `annotate`), multiple threads would lock the handle, then read from a different place that they would expect, since the `seek` behavior of the `InnerRevlog` was written with single threaded access in mind.
author Rapha?l Gom?s <rgomes@octobus.net>
date Fri, 24 Jan 2025 13:07:15 -0500
parents 8497cfb0d76c
children
line wrap: on
line diff