comparison mercurial/wireprotov1peer.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 55e8da487b8a
children 2c4f656c8e9f
comparison
equal deleted inserted replaced
42807:383fdfa6bba9 42813:268662aac075
20 changegroup as changegroupmod, 20 changegroup as changegroupmod,
21 encoding, 21 encoding,
22 error, 22 error,
23 pushkey as pushkeymod, 23 pushkey as pushkeymod,
24 pycompat, 24 pycompat,
25 repository,
26 util, 25 util,
27 wireprototypes, 26 wireprototypes,
27 )
28 from .interfaces import (
29 repository,
28 ) 30 )
29 from .utils import ( 31 from .utils import (
30 interfaceutil, 32 interfaceutil,
31 ) 33 )
32 34