Show More
@@ -399,18 +399,13 class ipeerrequests(Protocol): | |||||
399 | """ |
|
399 | """ | |
400 |
|
400 | |||
401 |
|
401 | |||
402 |
class |
|
402 | class peer(_ipeerconnection, ipeercapabilities, ipeerrequests, Protocol): | |
403 | """Unified interface for peer repositories. |
|
403 | """Unified interface for peer repositories. | |
404 |
|
404 | |||
405 | All peer instances must conform to this interface. |
|
405 | All peer instances must conform to this interface. | |
406 | """ |
|
406 | """ | |
407 |
|
407 | |||
408 |
|
408 | limitedarguments: bool = False | ||
409 | @interfaceutil.implementer(ipeerbase) |
|
|||
410 | class peer: |
|
|||
411 | """Base class for peer repositories.""" |
|
|||
412 |
|
||||
413 | limitedarguments = False |
|
|||
414 |
|
409 | |||
415 | def __init__(self, ui, path=None, remotehidden=False): |
|
410 | def __init__(self, ui, path=None, remotehidden=False): | |
416 | self.ui = ui |
|
411 | self.ui = ui |
General Comments 0
You need to be logged in to leave comments.
Login now