Mercurial > hg
comparison tests/wireprotosimplecache.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 | b27bcf81071b |
children | 2c4f656c8e9f |
comparison
equal
deleted
inserted
replaced
42807:383fdfa6bba9 | 42813:268662aac075 |
---|---|
8 from __future__ import absolute_import | 8 from __future__ import absolute_import |
9 | 9 |
10 from mercurial import ( | 10 from mercurial import ( |
11 extensions, | 11 extensions, |
12 registrar, | 12 registrar, |
13 repository, | |
14 util, | 13 util, |
15 wireprotoserver, | 14 wireprotoserver, |
16 wireprototypes, | 15 wireprototypes, |
17 wireprotov2server, | 16 wireprotov2server, |
17 ) | |
18 from mercurial.interfaces import ( | |
19 repository, | |
18 ) | 20 ) |
19 from mercurial.utils import ( | 21 from mercurial.utils import ( |
20 interfaceutil, | 22 interfaceutil, |
21 stringutil, | 23 stringutil, |
22 ) | 24 ) |