This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: delete obsolete comment about `prefix in repo` raising exception
ClosedPublic

Authored by martinvonz on Dec 14 2020, 2:53 PM.

Details

Summary

We dropped support for prefix in repo, where prefix is a hex
prefix, in 8b86acc7aa64 (context: drop support for looking up context
by ambiguous changeid (API), 2018-04-28), after having deprecated it a
while before that. These days you get a ProgrammingError instead if
you pass in a short nodeid.

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.