This is an archive of the discontinued Mercurial Phabricator instance.

index: don't add 1 to length variables
ClosedPublic

Authored by martinvonz on Aug 5 2018, 2:33 AM.

Details

Summary

A lot of "+ 1" and "-1" were mechanically added to ease the transition
in 781b2720d2ac (index: don't include nullid in len(),
2018-07-20). Let's clean it up now.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Aug 5 2018, 2:33 AM
This revision was automatically updated to reflect the committed changes.