The files field is not reliable, so we need to compute things from scratch. We
deal with the second simplest case, linear changesets. We diff the current
manifest with the parent manifest. This reveal the file added, changed and
removed.
Details
Details
- Reviewers
Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHG0303fc1f43f8: changing-files: add clean computation of changed files for linear changesets
rHG8b7dbf153157: changing-files: add clean computation of changed files for linear changesets
rHGfc1b2b98762c: changing-files: add clean computation of changed files for linear changesets
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
I think _process_linear is missing one or two inline comments because it's hard to read if you don't know the diff interface by heart, but otherwise it looks good.
mercurial/metadata.py | ||
---|---|---|
239 | Fascinating | |
277 | I understand that from a performance perspective this kind of indexing is good, but I think a comment on what d[1][0] is would improve readability by a lot. |
Fascinating