diff mercurial/scmutil.py @ 20939:388af5d4e90c

repoview: improve performance for computehidden (issue4206) For repos with a large number of heads (including hidden heads), a stale tag cache would cause computehidden to be drastically slower because of a the call to repo.tags() (which would build the tag cache). We actually don't need the tag cache for computehidden because we filter out global tags. This patch replaces the call to repo.tags with readlocaltags so as to avoid the tag cache.
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 27 Mar 2014 20:14:55 -0500
parents 97b2f26dfc43
children 6fb4c94ae300
line wrap: on
line diff