Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/revlog/filelog.rs @ 48083:fecfea658127
hg-core: silence dead-code warning by adding RevlogEntry::revion() accessor
Nightly `rustc` warns about the `RevlogEntry::rev` field not being
used. Rather than removing it, I added an accessor since it seems
useful to be able to get the entry's revision.
Differential Revision: https://phab.mercurial-scm.org/D11548
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 01 Oct 2021 08:44:56 -0700 |
parents | 87e3f878e65f |
children | 027ebad952ac |