I want to use this _stateextras more in upcoming patches to store some commit
time related information. Using defaultdict will help in cleaner code around
checking whether a file exists or not.
Details
Details
- Reviewers
marmoute indygreg - Group Reviewers
hg-reviewers - Commits
- rHGede4c121239e: mergestate: use collections.defaultdict(dict) for _stateextras
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
This changes behavior so pop() will raise KeyError on a missing key. Is this desired?