Mercurial > public > mercurial-scm > hg
comparison mercurial/repository.py @ 38835:a232e6744ba3
narrow: move requirement constant from changegroup to repository
As suggested by Gregory Szorc.
Differential Revision: https://phab.mercurial-scm.org/D4094
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 03 Aug 2018 11:02:34 -0700 |
parents | 0db41eb0a3ac |
children | b518d495a560 |
comparison
equal
deleted
inserted
replaced
38834:c83ad57627ae | 38835:a232e6744ba3 |
---|---|
12 error, | 12 error, |
13 ) | 13 ) |
14 from .utils import ( | 14 from .utils import ( |
15 interfaceutil, | 15 interfaceutil, |
16 ) | 16 ) |
17 | |
18 # When narrowing is finalized and no longer subject to format changes, | |
19 # we should move this to just "narrow" or similar. | |
20 NARROW_REQUIREMENT = 'narrowhg-experimental' | |
17 | 21 |
18 class ipeerconnection(interfaceutil.Interface): | 22 class ipeerconnection(interfaceutil.Interface): |
19 """Represents a "connection" to a repository. | 23 """Represents a "connection" to a repository. |
20 | 24 |
21 This is the base interface for representing a connection to a repository. | 25 This is the base interface for representing a connection to a repository. |