topic: patch localrepo._makedirstate() to avoid touching global dirstate
This should avoid incompatibility with other extension altering the dirstate.
All legacy (hg-git based) Projects have been automatically migrated to native with the upgrade of 2025-01-23
This should avoid incompatibility with other extension altering the dirstate.