Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/compression.rs @ 52396:b0b6c28b340b
hg-core: add filelog metadata header parsing
This adds methods to FilelogRevisionData to extract the metadata header.
The header is represented by a &[u8] wrapper capable of parsing the
fields "censored", "copy", and "copyrev". This will be needed for
supporting --copies in rhg status and diff.
author | Mitchell Kember <mkember@janestreet.com> |
---|---|
date | Tue, 03 Dec 2024 09:31:24 -0500 |
parents | f69a3f55fa9b |
children |