This is an archive of the discontinued Mercurial Phabricator instance.

util: implement sortdict.insert()
ClosedPublic

Authored by martinvonz on Dec 16 2019, 6:59 PM.

Details

Summary

As flagged by pytype (reported via Matt Harbison, thanks). This was
broken by bd0fd3ff9916 (util: rewrite sortdict using Python 2.7's
OrderedDict, 2017-05-16). We actually call insert() on
namespaces.py:100, but we clearly don't have test coverage of that an
no users have reported it AFAIK.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

martinvonz created this revision.Dec 16 2019, 6:59 PM
martinvonz updated this revision to Diff 18783.Dec 16 2019, 7:02 PM
martinvonz edited the summary of this revision. (Show Details)Dec 16 2019, 8:04 PM
martinvonz updated this revision to Diff 18784.
pulkit accepted this revision.Dec 17 2019, 3:10 AM
This revision is now accepted and ready to land.Dec 17 2019, 3:10 AM
This revision was automatically updated to reflect the committed changes.