diff hgext3rd/topic/discovery.py @ 2000:c413e7c96265

init: guard _namemap with repo.topics (issue5351) This prevents reading extra data on all repo commits when there is no topic for a given name. _namemap is called a lot, and it is often called for commit shas -- which should pretty much never be names of topics...
author timeless@gmail.com
date Fri, 26 Aug 2016 16:57:45 +0000
parents 0421772a9c30
children 65cf338258d2
line wrap: on
line diff