This is an archive of the discontinued Mercurial Phabricator instance.

context: drop support for changeid='' (API)
ClosedPublic

Authored by martinvonz on Apr 2 2018, 1:15 PM.

Details

Summary

Since the previous commit, there seem to be no users who pass '' to
repo.getitem, so let's drop support for it.

It may seem like a small cost to keep support for it, but I've spent
time being confused by it twice already.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Apr 2 2018, 1:15 PM
pulkit accepted this revision.Apr 2 2018, 2:28 PM
This revision was automatically updated to reflect the committed changes.