Caught by pytype.
Details
Details
- Reviewers
dlax pulkit - Group Reviewers
hg-reviewers - Commits
- rHG132470ee53fe: shelve: add the missing `create` parameter to the bundlerepo constructor
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
Good catch.
On the other hand, it's not clear to me what's the point of this "create" argument given bundlerepo.instance() will just use it to raise Abort if it is true.
Comment Actions
I think it’s so that the factory method is the same for each repo type, though I didn’t verify that’s still the case. I am surprised that this parameter doesn’t default to False. See 386f04d6ecb3. But I didn’t know if changing the signature on stable would be ok, or if there was a valid reason for the current signature.