Show More
@@ -0,0 +1,27 b'' | |||
|
1 | ||
|
2 | # Copyright (C) 2010-2020 RhodeCode GmbH | |
|
3 | # | |
|
4 | # This program is free software: you can redistribute it and/or modify | |
|
5 | # it under the terms of the GNU Affero General Public License, version 3 | |
|
6 | # (only), as published by the Free Software Foundation. | |
|
7 | # | |
|
8 | # This program is distributed in the hope that it will be useful, | |
|
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
|
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
|
11 | # GNU General Public License for more details. | |
|
12 | # | |
|
13 | # You should have received a copy of the GNU Affero General Public License | |
|
14 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
|
15 | # | |
|
16 | # This program is dual-licensed. If you wish to learn more about the | |
|
17 | # RhodeCode Enterprise Edition, including its added features, Support services, | |
|
18 | # and proprietary license terms, please see https://rhodecode.com/licenses/ | |
|
19 | ||
|
20 | from typing import TypeAlias | |
|
21 | ||
|
22 | from rhodecode.lib.vcs.backends.git import GitRepository | |
|
23 | from rhodecode.lib.vcs.backends.hg import MercurialRepository | |
|
24 | from rhodecode.lib.vcs.backends.svn import SubversionRepository | |
|
25 | ||
|
26 | VCSRepoClass: TypeAlias = MercurialRepository.__class__ | GitRepository.__class__ | SubversionRepository.__class__ | |
|
27 | VCSRepo: TypeAlias = MercurialRepository | GitRepository | SubversionRepository |
General Comments 0
You need to be logged in to leave comments.
Login now