comparison mercurial/fileset.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 174d9b8baf5d
children 325babf1de93
comparison
equal deleted inserted replaced
20935:70f9a5d8c06f 20939:388af5d4e90c