Mercurial > hg
comparison hgext/narrow/__init__.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 | e92454e69dc3 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
42807:383fdfa6bba9 | 42813:268662aac075 |
---|---|
15 testedwith = 'ships-with-hg-core' | 15 testedwith = 'ships-with-hg-core' |
16 | 16 |
17 from mercurial import ( | 17 from mercurial import ( |
18 localrepo, | 18 localrepo, |
19 registrar, | 19 registrar, |
20 ) | |
21 | |
22 from mercurial.interfaces import ( | |
20 repository, | 23 repository, |
21 ) | 24 ) |
22 | 25 |
23 from . import ( | 26 from . import ( |
24 narrowbundle2, | 27 narrowbundle2, |