As suggested by spectral during review of my fix of the missing return, this
makes it more obvious that all cases are covered and improves readability of
the functions with new names and a small docstring.
Details
Details
- Reviewers
spectral - Group Reviewers
hg-reviewers - Commits
- rHG0d6a099bba58: dirstate: group return logic and clarify each function in flagfunc
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
Now that the fallback function is always being built- do the context.manifest(), dirstate.copies(), etc that get run in context._buildflagfunc() always have an acceptably low overhead?
Comment Actions
I don't think this is the case? It should be gated on the same conditions it was before.