This is an archive of the discontinued Mercurial Phabricator instance.

remotenames: don't inherit the remotenames class from dict class
ClosedPublic

Authored by pulkit on Feb 21 2018, 4:50 AM.

Details

Summary

The remotenames class was moved from hgremotenames extension. The class in
hgremotenames extension used to extend dict because updating bookmark was done
through a dict-like interface or Sean (smf) wanted it to be that way.
But now, we can remove the inheritance from the dict class as updating bookmark
is not done using a dict-like interface.

Thanks to Martin von Zweigbergk for spotting this.

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

pulkit created this revision.Feb 21 2018, 4:50 AM
yuja accepted this revision.Feb 27 2018, 7:47 PM
This revision is now accepted and ready to land.Feb 27 2018, 7:47 PM
This revision was automatically updated to reflect the committed changes.