Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.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 | cdf0e9523de1 |
children | 2c4f656c8e9f |
comparison
equal
deleted
inserted
replaced
42807:383fdfa6bba9 | 42813:268662aac075 |
---|---|
50 obsolete, | 50 obsolete, |
51 pathutil, | 51 pathutil, |
52 phases, | 52 phases, |
53 pushkey, | 53 pushkey, |
54 pycompat, | 54 pycompat, |
55 repository, | |
56 repoview, | 55 repoview, |
57 revset, | 56 revset, |
58 revsetlang, | 57 revsetlang, |
59 scmutil, | 58 scmutil, |
60 sparse, | 59 sparse, |
64 transaction, | 63 transaction, |
65 txnutil, | 64 txnutil, |
66 util, | 65 util, |
67 vfs as vfsmod, | 66 vfs as vfsmod, |
68 ) | 67 ) |
68 | |
69 from .interfaces import ( | |
70 repository, | |
71 ) | |
72 | |
69 from .utils import ( | 73 from .utils import ( |
70 interfaceutil, | 74 interfaceutil, |
71 procutil, | 75 procutil, |
72 stringutil, | 76 stringutil, |
73 ) | 77 ) |