Files @ fc63a1d93803
Branch filter:

Location: kallithea/rhodecode/lib/vcs/backends/git/__init__.py

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
1
2
3
4
5
6
7
8
9
from .repository import GitRepository
from .changeset import GitChangeset
from .inmemory import GitInMemoryChangeset
from .workdir import GitWorkdir


__all__ = [
    'GitRepository', 'GitChangeset', 'GitInMemoryChangeset', 'GitWorkdir',
]