[Updated] D11881: rhg: centralize index header parsing

aalekseyev (Arseniy Alekseyev) phabricator at mercurial-scm.org
Wed Dec 8 11:41:11 UTC 2021


aalekseyev added inline comments.
aalekseyev marked an inline comment as done.

INLINE COMMENTS

> martinvonz wrote in index.rs:390
>   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

Oh, missed those. Thanks!
Pushed a fix now.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11881/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11881

To: aalekseyev, #hg-reviewers, martinvonz
Cc: martinvonz, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211208/21b8efe8/attachment-0002.html>


More information about the Mercurial-patches mailing list