This replace the [0] access. Ultimately is we should probably get ride of this
in its current form. However this is a good transitional solution to move away
for tuple indexing for now.
Details
Details
- Reviewers
SimonSapin pulkit - Group Reviewers
hg-reviewers - Commits
- rHG769037a279ec: dirstate-entry: add a `state` property (and use it)
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
Why have both a v1_state method and a state property? What’s the difference between them?
Comment Actions
v1_state return the exact content that we need to serialize the dirstate v1 format. The state one give use access to the current internal "state" encoding. It might diverge from v1_state in the future or disapper entirely.