Mercurial > kallithea
view rhodecode/lib/vcs/utils/hgcompat.py @ 3774:60335b702a00 beta
invalidation: don't create CacheInvalidation records on startup
Creating the records early gave an advantage before lightweight was introduced.
With lightweight it is no longer necessary.
The records will be created on demand anyway and there is no reason to create and
maintain them before they are used.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 03 Apr 2013 15:56:12 +0200 |
parents | acc05c33cc0c |
children | d7488551578e |
line wrap: on
line source
""" Mercurial libs compatibility """ from mercurial import archival, merge as hg_merge, patch, ui from mercurial.commands import clone, nullid, pull from mercurial.context import memctx, memfilectx from mercurial.error import RepoError, RepoLookupError, Abort from mercurial.hgweb.common import get_contact from mercurial.localrepo import localrepository from mercurial.match import match from mercurial.mdiff import diffopts from mercurial.node import hex from mercurial.encoding import tolocal from mercurial import discovery from mercurial import localrepo from mercurial import scmutil from mercurial.discovery import findcommonoutgoing