A future patch will refactor certain parts of bundlerepo initiatlization such
that we need to create temp bundles from another function. Let's move this to
another function to support that.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG702a26fec3e2: bundlerepo: move temp bundle creation to a separate function
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/bundlerepo.py | ||
---|---|---|
325–326 | Please update this to reflect that it is no longer a closure. |
mercurial/bundlerepo.py | ||
---|---|---|
322 | I think we usually use a "fn" prefix for function arguments. I think "readfn" would be clearer. |
Comment Actions
I fixed the comment and renamed read to readfn. I know we usually do renames as separate from code moves, but this was a tiny rename (only one use).
I think we usually use a "fn" prefix for function arguments. I think "readfn" would be clearer.