comparison mercurial/narrowspec.py @ 42813:268662aac075

interfaces: create a new folder for interfaces and move repository.py in it I was trying to understand current interfaces and write new ones and I realized we need to improve how current interfaces are organised. This creates a dedicated folder for defining interfaces and move `repository.py` which defines all the current interfaces inside it. Differential Revision: https://phab.mercurial-scm.org/D6741
author Pulkit Goyal <pulkit@yandex-team.ru>
date Sun, 18 Aug 2019 00:45:33 +0300
parents 87a34c767384
children 2372284d9457
comparison
equal deleted inserted replaced
42807:383fdfa6bba9 42813:268662aac075
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from __future__ import absolute_import 8 from __future__ import absolute_import
9 9
10 from .i18n import _ 10 from .i18n import _
11 from .interfaces import (
12 repository,
13 )
11 from . import ( 14 from . import (
12 error, 15 error,
13 match as matchmod, 16 match as matchmod,
14 merge, 17 merge,
15 repository,
16 scmutil, 18 scmutil,
17 sparse, 19 sparse,
18 util, 20 util,
19 ) 21 )
20 22