This is an archive of the discontinued Mercurial Phabricator instance.

fastannotate: use repo.local()
ClosedPublic

Authored by indygreg on Sep 11 2018, 8:33 PM.

Details

Summary

This is the proper way to check whether we're dealing with a local
repository, since extensions should be coding to an interface and
not testing for exact types.

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

indygreg created this revision.Sep 11 2018, 8:33 PM
pulkit accepted this revision.Sep 12 2018, 7:41 AM
pulkit added inline comments.Sep 12 2018, 8:31 AM
hgext/fastannotate/protocol.py
17

Dropped this import in flight to make pyflakes happy.

This revision was automatically updated to reflect the committed changes.