equal
deleted
inserted
replaced
497 [b'hashed', hashutil.sha1(b''.join(sorted(heads))).digest()] |
497 [b'hashed', hashutil.sha1(b''.join(sorted(heads))).digest()] |
498 ) |
498 ) |
499 else: |
499 else: |
500 heads = wireprototypes.encodelist(heads) |
500 heads = wireprototypes.encodelist(heads) |
501 |
501 |
502 if util.safehasattr(bundle, 'deltaheader'): |
502 if hasattr(bundle, 'deltaheader'): |
503 # this a bundle10, do the old style call sequence |
503 # this a bundle10, do the old style call sequence |
504 ret, output = self._callpush(b"unbundle", bundle, heads=heads) |
504 ret, output = self._callpush(b"unbundle", bundle, heads=heads) |
505 if ret == b"": |
505 if ret == b"": |
506 raise error.ResponseError(_(b'push failed:'), output) |
506 raise error.ResponseError(_(b'push failed:'), output) |
507 try: |
507 try: |