Centralize index header parsing, parse the generaldelta flag,
and leave breadcrumbs to relate the code to python.
Details
Details
- Reviewers
martinvonz Alphare - Group Reviewers
hg-reviewers - Commits
- rHG1fb3615dfce2: rhg: centralize index header parsing
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
rust/hg-core/src/revlog/index.rs | ||
---|---|---|
410–411 | error[E0425]: cannot find function `is_inline` in this scope --> hg-core/src/revlog/index.rs:390:20 | 390 | assert_eq!(is_inline(&bytes), false) | ^^^^^^^^^ not found in this scope error[E0425]: cannot find function `is_inline` in this scope --> hg-core/src/revlog/index.rs:401:20 | 401 | assert_eq!(is_inline(&bytes), true) | ^^^^^^^^^ not found in this scope error[E0425]: cannot find function `is_inline` in this scope --> hg-core/src/revlog/index.rs:412:20 | 412 | assert_eq!(is_inline(&bytes), true) | ^^^^^^^^^ not found in this scope error[E0425]: cannot find function `get_version` in this scope --> hg-core/src/revlog/revlog.rs:414:20 | 414 | assert_eq!(get_version(&bytes).map_err(|_err| ()), Ok(1)) | ^^^^^^^^^^^ not found in this scope |
rust/hg-core/src/revlog/index.rs | ||
---|---|---|
410–411 | Oh, missed those. Thanks! |