Show More
@@ -723,8 +723,6 b' def clone(' | |||||
723 | srcpeer = source |
|
723 | srcpeer = source | |
724 | branches = (None, branch or []) |
|
724 | branches = (None, branch or []) | |
725 | # XXX path: simply use the peer `path` object when this become available |
|
725 | # XXX path: simply use the peer `path` object when this become available | |
726 | srcpeer = source.peer() # in case we were called with a localrepo |
|
|||
727 | branches = (None, branch or []) |
|
|||
728 | origsource = source = srcpeer.url() |
|
726 | origsource = source = srcpeer.url() | |
729 | srclock = destlock = destwlock = cleandir = None |
|
727 | srclock = destlock = destwlock = cleandir = None | |
730 | destpeer = None |
|
728 | destpeer = None |
@@ -403,9 +403,6 b' class httppeer(wireprotov1peer.wirepeer)' | |||||
403 | def local(self): |
|
403 | def local(self): | |
404 | return None |
|
404 | return None | |
405 |
|
405 | |||
406 | def peer(self): |
|
|||
407 | return self |
|
|||
408 |
|
||||
409 | def canpush(self): |
|
406 | def canpush(self): | |
410 | return True |
|
407 | return True | |
411 |
|
408 |
@@ -123,12 +123,6 b' class ipeerconnection(interfaceutil.Inte' | |||||
123 | can be used to interface with it. Otherwise returns ``None``. |
|
123 | can be used to interface with it. Otherwise returns ``None``. | |
124 | """ |
|
124 | """ | |
125 |
|
125 | |||
126 | def peer(): |
|
|||
127 | """Returns an object conforming to this interface. |
|
|||
128 |
|
||||
129 | Most implementations will ``return self``. |
|
|||
130 | """ |
|
|||
131 |
|
||||
132 | def canpush(): |
|
126 | def canpush(): | |
133 | """Returns a boolean indicating if this peer can be pushed to.""" |
|
127 | """Returns a boolean indicating if this peer can be pushed to.""" | |
134 |
|
128 |
General Comments 0
You need to be logged in to leave comments.
Login now