Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 50187:f18e4608bb61
narrow: delegate the dirstate's narrow spec writing to the transaction
This make it more transactional and will help us to simplify their backup.
The implementation is not great, but it keep the patch simple as this is not the
time for a larger refactoring yet.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 23 Feb 2023 03:25:44 +0100 |
parents | 8bc14ac53a41 |
children | 39256bee2ed9 |
comparison
equal
deleted
inserted
replaced
50186:8bc14ac53a41 | 50187:f18e4608bb61 |
---|---|
1468 self._dirstate = None | 1468 self._dirstate = None |
1469 # post-dirstate-status hooks | 1469 # post-dirstate-status hooks |
1470 self._postdsstatus = [] | 1470 self._postdsstatus = [] |
1471 | 1471 |
1472 self._pending_narrow_pats = None | 1472 self._pending_narrow_pats = None |
1473 self._pending_narrow_pats_dirstate = None | |
1473 | 1474 |
1474 # generic mapping between names and nodes | 1475 # generic mapping between names and nodes |
1475 self.names = namespaces.namespaces() | 1476 self.names = namespaces.namespaces() |
1476 | 1477 |
1477 # Key to signature value. | 1478 # Key to signature value. |