[Updated] D11881: rhg: centralize index header parsing

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Dec 7 20:12:11 UTC 2021


This revision now requires changes to proceed.
martinvonz added inline comments.
martinvonz requested changes to this revision.

INLINE COMMENTS

> index.rs:390
>  
>          assert_eq!(is_inline(&bytes), false)
>      }

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

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/20211207/6e05f80f/attachment-0002.html>


More information about the Mercurial-patches mailing list