##// END OF EJS Templates
wirepeer: rename confusing `source` parameter...
Augie Fackler -
r29706:7f6130c7 default
parent child Browse files
Show More
@@ -399,7 +399,7 b' class wirepeer(peer.peerrepository):'
399 else:
399 else:
400 return changegroupmod.cg1unpacker(f, 'UN')
400 return changegroupmod.cg1unpacker(f, 'UN')
401
401
402 def unbundle(self, cg, heads, source):
402 def unbundle(self, cg, heads, url):
403 '''Send cg (a readable file-like object representing the
403 '''Send cg (a readable file-like object representing the
404 changegroup to push, typically a chunkbuffer object) to the
404 changegroup to push, typically a chunkbuffer object) to the
405 remote server as a bundle.
405 remote server as a bundle.
@@ -407,7 +407,11 b' class wirepeer(peer.peerrepository):'
407 When pushing a bundle10 stream, return an integer indicating the
407 When pushing a bundle10 stream, return an integer indicating the
408 result of the push (see localrepository.addchangegroup()).
408 result of the push (see localrepository.addchangegroup()).
409
409
410 When pushing a bundle20 stream, return a bundle20 stream.'''
410 When pushing a bundle20 stream, return a bundle20 stream.
411
412 `url` is the url the client thinks it's pushing to, which is
413 visible to hooks.
414 '''
411
415
412 if heads != ['force'] and self.capable('unbundlehash'):
416 if heads != ['force'] and self.capable('unbundlehash'):
413 heads = encodelist(['hashed',
417 heads = encodelist(['hashed',
General Comments 0
You need to be logged in to leave comments. Login now