diff mercurial/httpconnection.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 50d721553198
children 18a032704f0a
line wrap: on
line diff