diff hgweb.cgi @ 50005:16b78c0de506

locking: take the `wlock` for the full `hg remove` duration Otherwise, there is a race condition window between the time we resolve the file to remove with the matcher and the time we lock the repo and modify the dirstate. For example, the working copy might have been updated away, or purged, and the matched files would no longer be correct.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 13 Dec 2022 04:22:46 +0100
parents c102b704edb5
children d5cd1fd690f3
line wrap: on
line diff