This is an archive of the discontinued Mercurial Phabricator instance.

revlog: use literal -1 instead of variable that always has that value
ClosedPublic

Authored by martinvonz on May 8 2018, 2:07 PM.

Details

Summary

We were setting "ntrev" to "rev", but "rev" was always -1 at the end
of the loop, so it's clearer to use a literal -1.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped