Previously the code required that sizes be of type int. Since python plays loose
with integer types, we also need to support long.
Details
Details
- Reviewers
quark phillco - Group Reviewers
Restricted Project - Commits
- rFBHGXb176b79b1c1d: datapack: allow 'long' for metadata types
The existing test-remotefilelog-repack-fast.t test was completely
broken. It only enabled fast datapacks for the server repo, not the clients.
Enabling it for the clients as well catches this issue and verifies the fix.
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Branch
- default
- Lint
Lint OK - Unit
Unit Tests OK
Ah, TIL isinstance accepts a tuple.