Files @ fc63a1d93803
Branch filter:

Location: kallithea/rhodecode/lib/vcs/backends/hg/__init__.py - annotation

Marcin Kuzminski
Switched order of actions when doing repo rescan.

doing invalidation after repository scan is not optimal.
In case of big repository we first create an instance then invalidate
cache that we don't actually need. Reversing this order prevents that
# -*- coding: utf-8 -*-
"""
    vcs.backends.hg
    ~~~~~~~~~~~~~~~~

    Mercurial backend implementation.

    :created_on: Apr 8, 2010
    :copyright: (c) 2010-2011 by Marcin Kuzminski, Lukasz Balcerzak.
"""

from .repository import MercurialRepository
from .changeset import MercurialChangeset
from .inmemory import MercurialInMemoryChangeset
from .workdir import MercurialWorkdir


__all__ = [
    'MercurialRepository', 'MercurialChangeset',
    'MercurialInMemoryChangeset', 'MercurialWorkdir',
]