HomePhabricator

hg-core: silence dead-code warning by adding RevlogEntry::revion() accessor

Authored by martinvonz.

Description

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

Details

Committed
martinvonzFri, Oct 1, 11:44 AM
Differential Revision
D11548: hg-core: silence dead-code warning by adding RevlogEntry::revion() accessor
Parents
rHG789475ef2b22: rust: remove dead code
Branches
Unknown
Tags
Unknown