diff hgext/hooklib/reject_new_heads.py @ 49150:f2ef6a4f918f stable

rhg: fix dirstate-v2 data file removal system In D12581 I introduced logic to remove the previous dirstate-v2 data file after a new one is created (and its corresponding docket), but the logic was flawed. I fixed it and made it simpler to understand by gather all logic in a single expression. Differential Revision: https://phab.mercurial-scm.org/D12586
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 25 Apr 2022 16:45:03 +0200
parents 4cabeea6d214
children 6000f5b25c9b
line wrap: on
line diff